摘要: 题目: Given n, how many structurally unique BST's (binary search trees) that store values 1...n? (Medium) For example,Given n = 3, there are a total of 阅读全文
posted @ 2016-10-25 22:03 wangxiaobao1114 阅读(139) 评论(0) 推荐(0) 编辑
摘要: Given a binary tree, return the inorder traversal of its nodes' values. (Medium) For example:Given binary tree [1,null,2,3], return [1,3,2]. Note: Rec 阅读全文
posted @ 2016-10-25 22:00 wangxiaobao1114 阅读(619) 评论(0) 推荐(0) 编辑