摘要: Given n, how many structurally unique BST's (binary search trees) that store values 1 ... n? Example: 阅读全文
posted @ 2019-05-08 20:41 GoodRnne 阅读(352) 评论(0) 推荐(0)
摘要: Given a binary tree, return the inorder traversal of its nodes' values. Example: Follow up: Recursive solution is trivial, could you do it iteratively 阅读全文
posted @ 2019-05-08 20:18 GoodRnne 阅读(405) 评论(0) 推荐(0)