摘要: Given an integer n, generate all structurally unique BST's (binary search trees) that store values 1 ... n. 输出1~n能生成的所有BST。 首先是BST的生成方法。根据BST的特性(若有左子树 阅读全文
posted @ 2018-06-08 11:37 Zzz...y 阅读(134) 评论(0) 推荐(0) 编辑