https://oj.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 which the depth of the two subtrees of every node never differ by more than 1.
'풀어본 Algorithm 문제 정리' 카테고리의 다른 글
[OJ.leetcode] plus-one (0) | 2014.08.29 |
---|---|
[OJ.leetcode] remove-duplicates-from-sorted-array (0) | 2014.08.28 |
[Oj.leetcode] remove-element (0) | 2014.08.28 |
[OJ.leetcode] merge-two-sorted-lists (0) | 2014.08.27 |
[OJ.leetcode] single-number-ii (2) | 2014.08.27 |