摘要: 题目:Givenn, how many structurally uniqueBST's(binary search trees) that store values 1...n?For example,Givenn= 3, there are a total of 5 unique BST's. ... 阅读全文
posted @ 2015-10-07 17:54 savageclc26 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 题目Given an array containingndistinct numbers taken from0, 1, 2, ..., n, find the one that is missing from the array.For example,Givennums=[0, 1, 3]ret... 阅读全文
posted @ 2015-10-07 11:07 savageclc26 阅读(123) 评论(0) 推荐(0) 编辑