码迷,mamicode.com
首页 >  
搜索关键字:possible    ( 2665个结果
Restore IP Addresses
Given a string containing only digits, restore it by returning all possible valid IP address combinations. For example: Given "25525511135", return ["255.255.11.135", "255.255.111.35"]. (Order ...
分类:其他好文   时间:2015-07-07 19:30:43    阅读次数:116
LeetCode131:Palindrome Partitioning
Given a string s, partition s such that every substring of the partition is a palindrome. Return all possible palindrome partitioning of s. For example, given s = “aab”, Return [...
分类:其他好文   时间:2015-07-07 19:28:43    阅读次数:116
[*?]Subset
题目: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...
分类:其他好文   时间:2015-07-07 19:17:16    阅读次数:128
【LeetCode】216. Combination Sum III
Combination Sum IIIFind all possible combinations ofknumbers that add up to a numbern, given that only numbers from 1 to 9 can be used and each combin...
分类:其他好文   时间:2015-07-07 19:12:51    阅读次数:105
[*]Combination
题目: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,...
分类:其他好文   时间:2015-07-07 18:42:12    阅读次数:101
leetCode(31):Combination Sum III
Find all possible combinations of k numbers that add up to a number n, given that only numbers from 1 to 9 can be used and each combination should be a unique set of numbers. Ensure that numbers wi...
分类:其他好文   时间:2015-07-07 11:07:18    阅读次数:94
start_kernel——setup_nr_cpu_ids
kernel/smp.c/* An arch may set nr_cpu_ids earlier if needed, so this would be redundant */ void __init setup_nr_cpu_ids(void) { nr_cpu_ids = find_last_bit(cpumask_bits(cpu_possible_mask),NR_CPUS) +...
分类:其他好文   时间:2015-07-06 21:52:09    阅读次数:395
LeetCode78: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 contain duplicate subsets. For example, If...
分类:其他好文   时间:2015-07-06 17:46:35    阅读次数:122
[LeetCode][Java] 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...
分类:编程语言   时间:2015-07-06 14:19:22    阅读次数:145
#leetcode#Letter Combinations of a Phone Number
Given a digit string, return all possible letter combinations that the number could represent. A mapping of digit to letters (just like on the telephone buttons) is given below. Input:Digit st...
分类:其他好文   时间:2015-07-04 14:02:10    阅读次数:282
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!