leetcode
nbandroid
这个作者很懒,什么都没留下…
展开
-
Same Tree
Given 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 same value./** * D原创 2015-09-13 21:09:28 · 175 阅读 · 0 评论 -
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 which the depth of the two subtrees ofevery node never differ转载 2015-09-19 16:31:12 · 222 阅读 · 0 评论