LeetCode: Validata Binary Search TreeGiven a binary tree, determine if it is a valid binary search tree (BST).Assume a BST is defined as follows:The l...
分类:
其他好文 时间:
2014-08-28 23:59:16
阅读次数:
421
LeetCode: Recover Binary Search TreeTwo elements of a binary search tree (BST) are swapped by mistake.Recover the tree without changing its structure....
分类:
其他好文 时间:
2014-08-28 23:58:36
阅读次数:
385