码迷,mamicode.com
首页 >  
搜索关键字:combinations    ( 963个结果
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 tele...
分类:其他好文   时间:2015-12-15 15:54:54    阅读次数:149
[LeetCode]题解(python):039-Combination Sum
题目来源https://leetcode.com/problems/combination-sum/Given a set of candidate numbers (C) and a target number (T), find all unique combinations inCwhere ...
分类:编程语言   时间:2015-12-07 14:13:02    阅读次数:189
[LeetCode]题解(python):040-Combination Sum II
题目来源https://leetcode.com/problems/combination-sum-ii/Given a collection of candidate numbers (C) and a target number (T), find all unique combinations...
分类:编程语言   时间:2015-12-07 14:00:38    阅读次数:152
[string]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...
分类:其他好文   时间:2015-12-07 00:26:22    阅读次数:152
[string]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.2...
分类:其他好文   时间:2015-12-06 22:38:44    阅读次数:171
Java [Leetcode 40]Combination Sum II
题目描述:Given a collection of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sums toT.Each nu...
分类:编程语言   时间:2015-12-04 22:59:19    阅读次数:401
Java [Leetcode 39]Combination Sum
题目描述:Given a set of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sums toT.Thesamerepeate...
分类:编程语言   时间:2015-12-04 22:53:39    阅读次数:197
254. Factor Combinations
题目:Numbers can be regarded as product of its factors. For example,8 = 2 x 2 x 2; = 2 x 4.Write a function that takes an integernand return all possib....
分类:其他好文   时间:2015-12-03 02:05:09    阅读次数:710
[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 telep...
分类:其他好文   时间:2015-11-27 14:57:24    阅读次数:158
[LeetCode]Factor Combinations
这个题目比较要注意的一点是如何防止重复。在dfs中,下一层的因子应该大于等于上一层的public class Solution { List> result = new ArrayList>(); public List> getFactors(int n) { if (n...
分类:其他好文   时间:2015-11-26 17:10:15    阅读次数:162
963条   上一页 1 ... 38 39 40 41 42 ... 97 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!