Given a binary tree, determine if it is a valid binary search tree (BST).
分类:
其他好文 时间:
2014-07-03 19:36:49
阅读次数:
196
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).
分类:
其他好文 时间:
2014-07-03 19:20:42
阅读次数:
189
Given preorder and inorder traversal of a tree, construct the binary tree.
分类:
其他好文 时间:
2014-07-03 19:16:03
阅读次数:
149
Given a binary tree, return the zigzag level order traversal of its nodes' values. (ie, from left to right, then right to left for the next level and ...
分类:
其他好文 时间:
2014-07-03 19:14:34
阅读次数:
206
Given inorder and postorder traversal of a tree, construct the binary tree.
分类:
其他好文 时间:
2014-07-03 19:13:08
阅读次数:
187
Given a singly linked list where elements are sorted in ascending order, convert it to a height balanced BST.
分类:
其他好文 时间:
2014-07-03 19:10:40
阅读次数:
201
Given a binary tree, determine if it is height-balanced.
分类:
其他好文 时间:
2014-07-03 19:00:17
阅读次数:
188
Given an array where elements are sorted in ascending order, convert it to a height balanced BST.
分类:
其他好文 时间:
2014-07-03 18:55:48
阅读次数:
236
Given a binary tree, find its minimum depth.
分类:
其他好文 时间:
2014-07-03 18:54:32
阅读次数:
189
Given a binary tree, find its maximum depth.
分类:
其他好文 时间:
2014-07-03 13:19:33
阅读次数:
251