码迷,mamicode.com
首页 >  
搜索关键字:combinations    ( 963个结果
[leetcode] Combination Sum
Combination SumGiven a set of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sums toT.Thes...
分类:其他好文   时间:2014-12-27 13:54:43    阅读次数:115
LeetCode:Combinations
题目描述: Given two integers n and k, return all possible combinations of k numbers out of 1 ... n. For example, If n = 4 and k = 2, a solution is: [ [2,4], [3,4], [2,3], [1,2], [1,3],...
分类:其他好文   时间:2014-12-27 11:25:49    阅读次数:126
Generate Parentheses -- leetcode
Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. For example, given n = 3, a solution set is: "((()))", "(()())", "(())()", "()(())", "()()()" ...
分类:其他好文   时间:2014-12-25 20:40:36    阅读次数:143
Letter Combinations of a Phone Number -- leetcode
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 string...
分类:其他好文   时间:2014-12-23 19:40:19    阅读次数:192
[leetcode]Combination Sum II
问题描述: Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. Each number in C may only be used once in the c...
分类:其他好文   时间:2014-12-22 22:55:09    阅读次数:218
[leetcode]Combinations
问题描述: Given two integers n and k, return all possible combinations of k numbers out of 1 ... n. For example, If n = 4 and k = 2, a solution is: [ [2,4], [3,4], [2,3], [1,2], [1,3], ...
分类:其他好文   时间:2014-12-22 22:48:41    阅读次数:169
[leetcode]
问题描述: 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 unlim...
分类:其他好文   时间:2014-12-22 21:19:26    阅读次数:172
【LeetCode】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-20 15:23:53    阅读次数:149
【LeetCode】Generate Parentheses (2 solutions)
Generate ParenthesesGivennpairs of parentheses, write a function to generate all combinations of well-formed parentheses.For example, givenn= 3, a sol...
分类:其他好文   时间:2014-12-20 11:35:05    阅读次数:136
【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"...
分类:其他好文   时间:2014-12-19 17:26:18    阅读次数:117
963条   上一页 1 ... 72 73 74 75 76 ... 97 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!