摘要: 标题:Subsets II通过率:27.5难度:中等Given a collection of integers that might contain duplicates,S, return all possible subsets.Note:Elements in a subset must b... 阅读全文
posted @ 2015-03-16 20:35 pku_smile 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 标题:Subsets通过率:28.2%难度:中等Given a set of distinct integers,S, return all possible subsets.Note:Elements in a subset must be in non-descending order.The ... 阅读全文
posted @ 2015-03-16 15:32 pku_smile 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 标题:Palindrome Partitioning通过率:26.3%难度:中等Given a strings, partitionssuch that every substring of the partition is a palindrome.Return all possible pali... 阅读全文
posted @ 2015-03-16 15:29 pku_smile 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 标题:Combinations通过率:30.5%难度:中等Given two integersnandk, return all possible combinations ofknumbers out of 1 ...n.For example,Ifn= 4 andk= 2, a solution... 阅读全文
posted @ 2015-03-16 15:22 pku_smile 阅读(147) 评论(0) 推荐(0) 编辑