码迷,mamicode.com
首页 >  
搜索关键字:possible    ( 2665个结果
String to Integer (atoi)
Question:Implementatoito convert a string to an integer.Hint:Carefully consider all possible input cases. If you want a challenge, please do not see b...
分类:其他好文   时间:2014-10-27 12:25:57    阅读次数:121
[Leetcode][JAVA] Palindrome Partitioning
Given a strings, partitionssuch that every substring of the partition is a palindrome.Return all possible palindrome partitioning ofs.For example, giv...
分类:编程语言   时间:2014-10-26 11:31:30    阅读次数:243
LeetCode String to Integer (atoi)
String to Integer (atoi) Total Accepted: 20984 Total Submissions: 145855 Implement atoi to convert a string to an integer. Hint: Carefully consider all possible input cases. If you want a...
分类:其他好文   时间:2014-10-24 22:19:11    阅读次数:199
《Effective C++ 》学习笔记——条款03
《Effective C++ 》学习笔记——条款03:Use const whenever possible...
分类:编程语言   时间:2014-10-24 22:18:40    阅读次数:307
leetcode 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 contain duplicate subsets....
分类:其他好文   时间:2014-10-24 22:17:14    阅读次数:198
LeetCode Combinations
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-10-24 12:44:48    阅读次数:229
UVA 10131 Is Bigger Smarter?(DP)
Some people think that the bigger an elephant is, the smarter it is. To disprove this, you want to take the data on a collection of elephants and put as large a subset of this data as possible into a...
分类:其他好文   时间:2014-10-23 20:51:42    阅读次数:221
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]. class Solutio...
分类:其他好文   时间:2014-10-23 12:33:50    阅读次数:223
leetcode - 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 [2,1,1]....
分类:其他好文   时间:2014-10-23 12:29:48    阅读次数:136
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 ...
分类:其他好文   时间:2014-10-22 17:23:02    阅读次数:196
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!