码迷,mamicode.com
首页 >  
搜索关键字:combinations    ( 963个结果
【LeetCode】Combination Sum
题目 Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. The same repeated number may be chosen from C unlimi...
分类:其他好文   时间:2014-12-17 16:26:21    阅读次数:170
[leetcode]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"]. (O...
分类:其他好文   时间:2014-12-16 17:04:09    阅读次数:152
[leetcode] Combinations
CombinationsGiven two integersnandk, return all possible combinations ofknumbers out of 1 ...n.For example,Ifn= 4 andk= 2, a solution is:[ [2,4], [3.....
分类:其他好文   时间:2014-12-16 16:50:47    阅读次数:110
【LeetCode】Combination Sum II (2 solutions)
Combination Sum IIGiven a collection of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sum...
分类:其他好文   时间:2014-12-16 16:39:06    阅读次数:264
【LeetCode】Combination Sum I & II 解题报告
【Combination Sum I】 Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. The same repeated number may be cho...
分类:其他好文   时间:2014-12-16 11:45:46    阅读次数:186
[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 telephon...
分类:其他好文   时间:2014-12-11 00:12:47    阅读次数:297
【LeetCode】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.The solution set must not con...
分类:其他好文   时间:2014-12-10 12:38:33    阅读次数:196
Letter Combinations of a Phone Number
Letter Combinations of a Phone NumberGiven a digit string, return all possible letter combinations that the number could represent.A mapping of digit ...
分类:其他好文   时间:2014-12-09 21:24:40    阅读次数:169
[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:Dig...
分类:其他好文   时间:2014-12-08 23:03:54    阅读次数:243
【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-12-08 17:47:58    阅读次数:191
963条   上一页 1 ... 73 74 75 76 77 ... 97 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!