码迷,mamicode.com
首页 >  
搜索关键字:possible    ( 2665个结果
LeetCode Permutations
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], [3,1,2], and [3,2,1].思路分析:这题是Permutations II问题的简...
分类:其他好文   时间:2014-11-23 13:07:51    阅读次数:172
Subsets II
Given a collection of integers that might contain duplicates,S, return all possible subsets.Note:Elements in a subset must be in non-descending order....
分类:其他好文   时间:2014-11-23 12:56:59    阅读次数:179
Subsets
Given a set of distinct integers,S, return all possible subsets.Note:Elements in a subset must be in non-descending order.The solution set must not co...
分类:其他好文   时间:2014-11-23 11:42:48    阅读次数:233
Permutations II 去掉重复的全排列
Given a collection of numbers that might contain duplicates, return all possible unique permutations.For example,[1,1,2]have the following unique perm...
分类:其他好文   时间:2014-11-22 20:11:58    阅读次数:180
Permutations 全排列 回溯
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],[3,...
分类:其他好文   时间:2014-11-22 00:37:46    阅读次数:186
Combinations(带for循环的DFS)
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,3],...
分类:其他好文   时间:2014-11-21 16:00:59    阅读次数:235
UVA - 1595
The figure shown on the left isleft-right symmetricas it is possible to fold the sheet of paper along avertical line, drawn as a dashed line, and to c...
分类:其他好文   时间:2014-11-21 15:45:31    阅读次数:169
Permutations
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],[3,...
分类:其他好文   时间:2014-11-21 14:12:24    阅读次数:119
Subsets II
Given a collection of integers that might contain duplicates,S, return all possible subsets.Note:Elements in a subset must be in non-descending order....
分类:其他好文   时间:2014-11-21 14:03:57    阅读次数:160
Subsets 集合子集 回溯
Given a set of distinct integers,S, return all possible subsets.Note:Elements in a subset must be in non-descending order.The solution set must not co...
分类:其他好文   时间:2014-11-21 01:17:47    阅读次数:293
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!