会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Dylan_Java_NYC
博客园
首页
新随笔
联系
订阅
管理
随笔 - 1033
文章 - 0
评论 - 4
阅读 -
40万
当前标签:Tree
1
2
3
4
5
···
7
下一页
LeetCode 2049. Count Nodes With the Highest Score
Dylan_Java_NYC 2024-08-14 00:29
阅读:11
评论:0
推荐:0
编辑
LeetCode 1530. Number of Good Leaf Nodes Pairs
Dylan_Java_NYC 2024-07-15 11:37
阅读:39
评论:0
推荐:0
编辑
LeetCode 1305. All Elements in Two Binary Search Trees
Dylan_Java_NYC 2024-06-01 13:11
阅读:6
评论:0
推荐:0
编辑
LeetCode 1373. Maximum Sum BST in Binary Tree
Dylan_Java_NYC 2024-05-05 23:23
阅读:8
评论:0
推荐:0
编辑
LeetCode 1315. Sum of Nodes with Even-Valued Grandparent
Dylan_Java_NYC 2024-04-17 12:45
阅读:2
评论:0
推荐:0
编辑
LeetCode 1443. Minimum Time to Collect All Apples in a Tree
Dylan_Java_NYC 2024-04-15 10:29
阅读:11
评论:0
推荐:0
编辑
LeetCode 834. Sum of Distances in Tree
Dylan_Java_NYC 2024-03-23 23:18
阅读:26
评论:0
推荐:0
编辑
LeetCode 2265. Count Nodes Equal to Average of Subtree
Dylan_Java_NYC 2024-03-21 11:22
阅读:3
评论:0
推荐:0
编辑
LeetCode 1161. Maximum Level Sum of a Binary Tree
Dylan_Java_NYC 2024-03-20 10:35
阅读:4
评论:0
推荐:0
编辑
LeetCode 1028. Recover a Tree From Preorder Traversal
Dylan_Java_NYC 2024-03-20 10:08
阅读:3
评论:0
推荐:0
编辑
LeetCode 559. Maximum Depth of N-ary Tree
Dylan_Java_NYC 2023-02-10 09:36
阅读:22
评论:0
推荐:0
编辑
LeetCode 2458. Height of Binary Tree After Subtree Removal Queries
Dylan_Java_NYC 2022-10-30 13:28
阅读:250
评论:0
推荐:0
编辑
LeetCode 1367. Linked List in Binary Tree
Dylan_Java_NYC 2022-10-03 16:45
阅读:29
评论:0
推荐:0
编辑
LeetCode 1302. Deepest Leaves Sum
Dylan_Java_NYC 2022-09-29 16:25
阅读:24
评论:0
推荐:0
编辑
LeetCode 1382. Balance a Binary Search Tree
Dylan_Java_NYC 2022-09-25 14:57
阅读:44
评论:0
推荐:0
编辑
LeetCode 1339. Maximum Product of Splitted Binary Tree
Dylan_Java_NYC 2022-09-10 01:19
阅读:102
评论:0
推荐:0
编辑
LeetCode 2096. Step-By-Step Directions From a Binary Tree Node to Another
Dylan_Java_NYC 2022-08-12 15:35
阅读:171
评论:0
推荐:0
编辑
LeetCode 1740. Find Distance in a Binary Tree
Dylan_Java_NYC 2022-08-12 15:00
阅读:149
评论:0
推荐:0
编辑
LeetCode 427. Construct Quad Tree
Dylan_Java_NYC 2022-07-31 14:46
阅读:100
评论:0
推荐:0
编辑
LeetCode 700. Search in a Binary Search Tree
Dylan_Java_NYC 2022-06-28 14:02
阅读:36
评论:0
推荐:0
编辑
1
2
3
4
5
···
7
下一页
公告
昵称:
Dylan_Java_NYC
园龄:
9年5个月
粉丝:
9
关注:
1
+加关注
搜索
常用链接
我的随笔
我的评论
我的参与
最新评论
我的标签
我的标签
LeetCode
(988)
Array
(206)
DP
(153)
String
(151)
Tree
(135)
DFS
(127)
HashMap
(103)
BFS
(75)
Math
(72)
Two Pointers
(71)
更多
随笔档案
2024年11月(1)
2024年10月(1)
2024年8月(17)
2024年7月(9)
2024年6月(10)
2024年5月(16)
2024年4月(16)
2024年3月(11)
2024年2月(2)
2023年2月(1)
2022年10月(16)
2022年9月(8)
2022年8月(26)
2022年7月(15)
2022年6月(18)
2022年5月(4)
2022年4月(4)
2021年3月(2)
2020年5月(1)
2020年3月(10)
2020年2月(19)
2020年1月(33)
2019年12月(68)
2019年11月(46)
2019年10月(5)
2019年9月(20)
2019年8月(31)
2019年7月(15)
2019年6月(22)
2018年10月(2)
2018年9月(4)
2018年8月(1)
2018年7月(3)
2018年3月(1)
2018年2月(8)
2018年1月(18)
2017年12月(5)
2017年11月(13)
2017年10月(36)
2017年9月(48)
2017年8月(2)
2017年6月(10)
2017年4月(12)
2017年3月(11)
2017年2月(25)
2017年1月(36)
2016年12月(7)
2016年11月(2)
2016年10月(2)
2016年9月(2)
2016年8月(3)
2016年4月(5)
2016年3月(43)
2016年2月(25)
2016年1月(13)
2015年12月(5)
2015年11月(29)
2015年10月(57)
2015年9月(99)
2015年8月(51)
2015年7月(8)
更多
阅读排行榜
1. LeetCode 1152. Analyze User Website Visit Pattern(5101)
2. LeetCode 1102. Path With Maximum Minimum Value(3986)
3. LeetCode 1135. Connecting Cities With Minimum Cost(3625)
4. LeetCode 1153. String Transforms Into Another String(2993)
5. LeetCode 1099. Two Sum Less Than K(2561)
评论排行榜
1. LeetCode 1197. Minimum Knight Moves(3)
2. LeetCode 958. Check Completeness of a Binary Tree(1)
最新评论
1. Re:LeetCode 1197. Minimum Knight Moves
@Gavin_Huang For example, to reach (1,1) from (0, 0), the best way is to get (2, -1) or (-1, 2) firs...
--CNoodle
2. Re:LeetCode 1197. Minimum Knight Moves
@Gavin_Huang 四个象限都是对称的,比如你举得例子-23, -123如果能到这个位置和到第一象限的23, 123是相同的最小步数。所以为了节省BFS的时间,只看第一象限,在最开始已经取过绝对...
--Dylan_Java_NYC
3. Re:LeetCode 1197. Minimum Knight Moves
还是没太懂 i>=-1 && j>=-1 。 万一这x,y是在比如-23,-123, 也就是第四象限,i>=-1 && j>=-1 放在那里不正好与正确答案走反方向了吗? 😭...
--Gavin_Huang
4. Re:LeetCode 958. Check Completeness of a Binary Tree
brilliant!.
--肥耳朵猫猫
点击右上角即可分享