
DFS
Juxin_Lin
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
【LeetCode】104. Maximum Depth of Binary Tree
Difficulty: EasyGiven a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node./** * Defin原创 2017-01-07 19:12:17 · 221 阅读 · 0 评论 -
【LeetCode】100. Same Tree
Difficulty: EasyGiven two binary trees, write a function to check if they are equal or not.Two binary trees are considered equal if they are structurally identical and the nodes have the sam原创 2017-01-07 18:53:35 · 236 阅读 · 0 评论