码迷,mamicode.com
首页 >  
搜索关键字:combinations    ( 963个结果
No.017: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 tele ...
分类:其他好文   时间:2016-10-17 13:21:56    阅读次数:138
leetcode 77 Combinations ----- java
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: 求C(k,n)的所有结果。 ...
分类:编程语言   时间:2016-10-16 18:40:33    阅读次数:140
Combination 题目整理
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. ...
分类:其他好文   时间:2016-10-04 09:52:29    阅读次数:215
[LeetCode] 22. Generate Parentheses
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: ...
分类:其他好文   时间:2016-10-02 00:41:14    阅读次数:129
[LeetCode] 17. 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 telepho ...
分类:其他好文   时间:2016-10-02 00:20:22    阅读次数:192
LeetCode77 Combinations
题目: Given two integers n and k, return all possible combinations of k numbers out of 1 ... n. (Medium) For example,If n = 4 and k = 2, a solution is: ...
分类:其他好文   时间:2016-09-30 02:05:50    阅读次数:148
LeetCode-Combinations
...
分类:其他好文   时间:2016-09-29 07:51:54    阅读次数:180
40. 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 toT. Each numb ...
分类:其他好文   时间:2016-09-25 11:55:00    阅读次数:140
Leetcode17--->Letter Combinations of a Phone Number(电话号码对应的字母的组合)
题目: 给定一个数字字符串,返回数字所能代表的所有字母组合; 举例: Input:Digit string "23" Output: ["ad", "ae", "af", "bd", "be", "bf", "cd", "ce", "cf"]. 解题思路: 1. 首先要判断给定的数字字符串是否合法( ...
分类:其他好文   时间:2016-09-17 21:42:43    阅读次数:130
77. 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: ...
分类:其他好文   时间:2016-09-17 07:11:53    阅读次数:121
963条   上一页 1 ... 26 27 28 29 30 ... 97 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!