xinyu04

导航

2022年8月20日 #

[Google] LeetCode 2115 Find All Possible Recipes from Given Supplies

摘要: You have information about n different recipes. You are given a string array recipes and a 2D string array ingredients. The $i$-th recipe has the name 阅读全文

posted @ 2022-08-20 23:43 Blackzxy 阅读(38) 评论(0) 推荐(0) 编辑

[Google] LeetCode 2034 Stock Price Fluctuation

摘要: You are given a stream of records about a particular stock. Each record contains a timestamp and the corresponding price of the stock at that timestam 阅读全文

posted @ 2022-08-20 22:17 Blackzxy 阅读(26) 评论(0) 推荐(0) 编辑

[Google] LeetCode 366 Find Leaves of Binary Tree

摘要: Given the root of a binary tree, collect a tree's nodes as if you were doing this: Collect all the leaf nodes. Remove all the leaf nodes. Repeat until 阅读全文

posted @ 2022-08-20 04:23 Blackzxy 阅读(12) 评论(0) 推荐(0) 编辑

[Google] LeetCode 2096 Step-By-Step Directions From a Binary Tree Node to Another

摘要: You are given the root of a binary tree with n nodes. Each node is uniquely assigned a value from 1 to n. You are also given an integer startValue rep 阅读全文

posted @ 2022-08-20 03:08 Blackzxy 阅读(20) 评论(0) 推荐(0) 编辑