
树的高度
文章平均质量分 68
jmspan
这个作者很懒,什么都没留下…
展开
-
LeetCode 110. Balanced Binary Tree(平衡二叉树)
原题网址:https://leetcode.com/problems/balanced-binary-tree/ Given a binary tree, determine if it is height-balanced. For this problem, a height-balanced binary tree is defined as a binary tree in原创 2016-05-24 00:12:55 · 563 阅读 · 0 评论 -
LeetCode 111. Minimum Depth of Binary Tree(二叉树最小深度)
原题网址:https://leetcode.com/problems/minimum-depth-of-binary-tree/ Given a binary tree, find its minimum depth. The minimum depth is the number of nodes along the shortest path from the root nod原创 2016-05-24 00:18:53 · 1062 阅读 · 0 评论