码迷,mamicode.com
首页 >  
搜索关键字:combinations    ( 963个结果
Letter Combinations of a Phone Number
class Solution {private: vector res; string temp;public: void getRes(string digits,int len,map num_map,int index) { if(index>=len) ...
分类:其他好文   时间:2015-06-02 20:08:52    阅读次数:105
#22 Generate Parentheses
Givennpairs of parentheses, write a function to generate all combinations of well-formed parentheses.For example, givenn= 3, a solution set is:"((()))...
分类:其他好文   时间:2015-06-02 00:02:28    阅读次数:332
Combination Sum II —— LeetCode
Given a collection of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sums toT.Each number ...
分类:其他好文   时间:2015-05-29 17:28:45    阅读次数:92
Combination Sum III —— LeetCode
Find all possible combinations ofknumbers that add up to a numbern, given that only numbers from 1 to 9 can be used and each combination should be a u...
分类:其他好文   时间:2015-05-29 17:25:09    阅读次数:112
Combination Sum —— LeetCode
Given a set of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sums toT.Thesamerepeated num...
分类:其他好文   时间:2015-05-29 15:39:37    阅读次数:121
Letter Combinations of a Phone Number
一道非常经典的dfspublic class Solution { String[] keybd ={"","","abc","def","ghi","jkl","mno","pqrs","tuv","wxyz"}; // http://www.cnblogs.com/springfor...
分类:其他好文   时间:2015-05-29 13:56:17    阅读次数:129
[LeetCode] 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 ...
分类:其他好文   时间:2015-05-29 11:49:26    阅读次数:82
Combinations ——LeetCode
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],...
分类:其他好文   时间:2015-05-29 11:32:26    阅读次数:79
leetcode | Letter Combinations of a Phone Number
问题 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 th...
分类:其他好文   时间:2015-05-29 10:08:13    阅读次数:115
【Combination Sum 】cpp
题目:Given a set of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sums toT.Thesamerepeated ...
分类:其他好文   时间:2015-05-28 15:44:29    阅读次数:152
963条   上一页 1 ... 51 52 53 54 55 ... 97 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!