摘要: Problem:Given a collection of integers that might contain duplicates,nums, return all possible subsets.Note:Elements in a subset must be in non-descen... 阅读全文
posted @ 2015-08-22 12:25 airforce 阅读(191) 评论(0) 推荐(0) 编辑
摘要: Problem:Given a collection of numbers that might contain duplicates, return all possible unique permutations.For example,[1,1,2]have the following uni... 阅读全文
posted @ 2015-08-22 04:15 airforce 阅读(165) 评论(0) 推荐(0) 编辑
摘要: Problem:Find all possible combinations ofknumbers that add up to a numbern, given that only numbers from 1 to 9 can be used and each combination shoul... 阅读全文
posted @ 2015-08-22 01:07 airforce 阅读(160) 评论(0) 推荐(0) 编辑