码迷,mamicode.com
首页 >  
搜索关键字:possible    ( 2665个结果
[LeetCode][Java] 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]. 题意: 给...
分类:编程语言   时间:2015-07-14 13:46:05    阅读次数:380
[LeetCode][Java] 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 permutations: [1,1,2], [1,2,1], and...
分类:编程语言   时间:2015-07-14 13:39:54    阅读次数:180
leetCode 47.Permutations II (排列组合II) 解题思路和方法
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 permutations: [1,1,2], [1,...
分类:其他好文   时间:2015-07-13 14:06:17    阅读次数:130
leetcode String to Integer (atoi)
题目: Implement atoi to convert a string to an integer.Hint: Carefully consider all possible input cases. If you want a challenge, please do not see below and ask yourself what are the possible input c...
分类:其他好文   时间:2015-07-13 00:53:24    阅读次数:100
String to Integer (atoi)
Implementatoito convert a string to an integer.Hint:Carefully consider all possible input cases. If you want a challenge, please do not see below and ...
分类:其他好文   时间:2015-07-12 18:39:17    阅读次数:104
[LeetCode][Java] Next Permutation
题目: Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers. If such arrangement is not possible, it must rearrange it as the lowest p...
分类:编程语言   时间:2015-07-12 11:20:56    阅读次数:206
Leetcode 90 Subsets II
Given a collection of integers that might contain duplicates,nums, return all possible subsets.Note:Elements in a subset must be in non-descending ord...
分类:其他好文   时间:2015-07-12 11:10:36    阅读次数:83
Leetcode 78 Subsets
Given a set of distinct integers,nums, return all possible subsets.Note:Elements in a subset must be in non-descending order.The solution set must not...
分类:其他好文   时间:2015-07-12 10:53:37    阅读次数:130
[LeetCode] Max Points on a Line
This problem has a naive idea, which is to traverse all possible pairs of two points and see how many other points fall in the line determined by them...
分类:其他好文   时间:2015-07-11 22:44:06    阅读次数:133
[leedcode 47] 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...
分类:其他好文   时间:2015-07-11 13:22:30    阅读次数:122
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!