摘要: Question Given a non empty array containing only positive integers, find if the array can be partitioned into two subsets such that the sum of element 阅读全文
posted @ 2017-09-13 19:30 清水汪汪 阅读(174) 评论(0) 推荐(0) 编辑
摘要: Question Given an integer n, generate all structurally unique BST's (binary search trees) that store values 1...n. For example, Given n = 3, your prog 阅读全文
posted @ 2017-09-13 16:08 清水汪汪 阅读(123) 评论(0) 推荐(0) 编辑
摘要: Question Given a string s and a string t, check if s is subsequence of t. You may assume that there is only lower case English letters in both s and t 阅读全文
posted @ 2017-09-13 14:24 清水汪汪 阅读(140) 评论(0) 推荐(0) 编辑
摘要: Question 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 u 阅读全文
posted @ 2017-09-13 14:19 清水汪汪 阅读(134) 评论(0) 推荐(0) 编辑