摘要: Given n distinct positive integers, integer k (k A, int k, int target) {11 // wirte your code here12 vector > dp(k + 1, vector(target... 阅读全文
posted @ 2015-05-16 17:25 Eason Liu 阅读(1080) 评论(0) 推荐(0) 编辑
摘要: Design a data structure that supports the following two operations:void addWord(word)bool search(word)search(word) can search a literal word or a regu... 阅读全文
posted @ 2015-05-16 15:42 Eason Liu 阅读(298) 评论(0) 推荐(0) 编辑
摘要: Given string A representative a positive integer which hasNdigits, remove anykdigits of the number, the remaining digits are arranged according to the... 阅读全文
posted @ 2015-05-16 12:31 Eason Liu 阅读(1525) 评论(0) 推荐(0) 编辑