摘要:
Given a binary tree, determine if it is a valid binary search tree (BST).Assume a BST is defined as follows:The left subtree of a node contains only n... 阅读全文
posted @ 2015-07-30 11:10
amazingzoe
阅读(133)
评论(0)
推荐(0)
摘要:
Givenn, generate all structurally uniqueBST's(binary search trees) that store values 1...n.For example,Givenn= 3, your program should return all 5 uni... 阅读全文
posted @ 2015-07-30 00:32
amazingzoe
阅读(130)
评论(0)
推荐(0)
浙公网安备 33010602011771号