码迷,mamicode.com
首页 >  
搜索关键字:combinations    ( 963个结果
216. Combination Sum III——本质DFS
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 ...
分类:其他好文   时间:2016-12-20 10:06:36    阅读次数:140
Leetcode 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: L15-L16 判段一下 ...
分类:其他好文   时间:2016-12-09 08:41:56    阅读次数:174
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 telephon... ...
分类:其他好文   时间:2016-12-07 23:37:52    阅读次数:242
93. Restore IP Addresses
Given a string containing only digits, restore it by returning all possible valid IP address combinations. For example:Given "25525511135", return ["2 ...
分类:其他好文   时间:2016-12-03 08:04:41    阅读次数:151
216. 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 ...
分类:其他好文   时间:2016-12-02 07:44:24    阅读次数:213
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-11-28 09:04:46    阅读次数:187
39. 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 repeat ...
分类:其他好文   时间:2016-11-17 08:01:53    阅读次数:138
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-11-15 13:48:57    阅读次数:142
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 tel ...
分类:其他好文   时间:2016-11-14 20:38:01    阅读次数:164
Generate Parentheses
Generate Parentheses Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. For example, given n = 3, ...
分类:其他好文   时间:2016-10-26 00:15:55    阅读次数:113
963条   上一页 1 ... 25 26 27 28 29 ... 97 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!