码迷,mamicode.com
首页 >  
搜索关键字:combinations    ( 963个结果
Restore IP Addresses
Given a string containing only digits, restore it by returning all possible valid IP address combinations....
分类:其他好文   时间:2014-08-17 22:48:32    阅读次数:217
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....
分类:其他好文   时间:2014-08-17 17:03:22    阅读次数:184
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...
分类:其他好文   时间:2014-08-17 16:44:42    阅读次数:179
Combination Sum
Given a set of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sums toT.Thesamerepeated num...
分类:其他好文   时间:2014-08-16 17:03:50    阅读次数:174
编程之美之电话号码对应英语单词
题目一:根据电话上字母和数字的对应关系,用一个有意义的单词来表述一个电话号码,如用computer表示26678837 题目二:反过来,给定一个电话号码,是否可以用一个单词来表示呢?怎样表示最快呢?显然不是所有的电话号码都可以对应到单词上去 首先来看看leetcode上一个类似的题目: Letter Combinations of a Phone Number   G...
分类:其他好文   时间:2014-08-15 16:11:50    阅读次数:257
[LeetCode] Combinations (bfs)
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,.....
分类:其他好文   时间:2014-08-14 20:26:49    阅读次数:202
LeetCode: Generate Parentheses
问题:Givennpairs of parentheses, write a function to generate all combinations of well-formed parentheses.For example, givenn= 3, a solution set is:"(((...
分类:其他好文   时间:2014-08-11 14:31:22    阅读次数:169
Leetcode--Generate Parentheses
Problem Description: 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-08-08 21:20:46    阅读次数:327
[LeetCode: 题解] 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 repeate...
分类:其他好文   时间:2014-08-08 20:54:46    阅读次数:246
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...
分类:其他好文   时间:2014-08-06 14:30:21    阅读次数:213
963条   上一页 1 ... 84 85 86 87 88 ... 97 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!