LeetCode —— Unique Binary Search Trees [动态规划]
转载自http://www.tuicool.com/articles/NRjmyyI
Given n , how many structurally unique BST’s (binary search trees) that store values 1… n ?
For example,
Given n = 3, there are a total of 5 uniq
转载
2015-04-14 19:27:39 ·
562 阅读 ·
0 评论