2015年5月21日

摘要: 题目:Given two integersnandk, return all possible combinations ofknumbers out of 1 ...n.For example,Ifn= 4 andk= 2, a solution is:[ [2,4], [3,4], [2,... 阅读全文
posted @ 2015-05-21 20:46 承续缘 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 题目:Given a collection of numbers that might contain duplicates, return all possible unique permutations.For example,[1,1,2]have the following unique p... 阅读全文
posted @ 2015-05-21 16:04 承续缘 阅读(203) 评论(0) 推荐(0) 编辑
摘要: 题目:Given a collection of numbers, return all possible permutations.For example,[1,2,3]have the following permutations:[1,2,3],[1,3,2],[2,1,3],[2,3,1],... 阅读全文
posted @ 2015-05-21 10:47 承续缘 阅读(303) 评论(0) 推荐(0) 编辑

导航