2016年4月28日

Unique Binary Search Trees

摘要: 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 unique BST' 阅读全文

posted @ 2016-04-28 22:49 Sheryl Wang 阅读(164) 评论(0) 推荐(0) 编辑

Plus One

摘要: Given a non-negative number represented as an array of digits, plus one to the number. The digits are stored such that the most significant digit is a 阅读全文

posted @ 2016-04-28 11:43 Sheryl Wang 阅读(204) 评论(0) 推荐(0) 编辑

导航