码迷,mamicode.com
首页 >  
搜索关键字:combinations    ( 963个结果
【LeetCode-面试算法经典-Java实现】【017-Letter Combinations of a Phone Number (电话号码上的单词组合)】
【017-Letter Combinations of a Phone Number (电话号码上的单词组合)】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题  Given a digit string, return all possible letter combinations that the number could represent.   A mapping...
分类:编程语言   时间:2015-07-21 09:11:42    阅读次数:133
[LeetCode][Java] 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.255.11.135", "255.255.111.35"]...
分类:编程语言   时间:2015-07-20 13:07:47    阅读次数:173
[LeetCode][Java] 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: [ [2,4], [3,4], [2,3], [1,2], [1,3], ...
分类:编程语言   时间:2015-07-18 12:37:37    阅读次数:102
Light OJ 1067 Combinations (乘法逆元)
DescriptionGiven n different objects, you want to take k of them. How many ways to can do it?For example, say there are 4 items; you want to take 2 of...
分类:其他好文   时间:2015-07-18 02:02:17    阅读次数:210
HDU4451——Dressing
Wangpeng has N clothes, M pants and K shoes so theoretically he can have N×M×K different combinations of dressing.One day he wears his pants Nike, sho...
分类:其他好文   时间:2015-07-17 22:31:28    阅读次数:137
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 repeated number may be chosen from C unlimited number of...
分类:其他好文   时间:2015-07-14 22:38:27    阅读次数:162
[leedcode 77] Combinations
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-07-14 20:25:31    阅读次数:98
#22 Generate Parentheses
题目链接:https://leetcode.com/problems/generate-parentheses/ Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. For example, given n = 3, a...
分类:其他好文   时间:2015-07-14 18:01:42    阅读次数:106
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 ...
分类:其他好文   时间:2015-07-13 22:02:26    阅读次数:123
[LeetCode][Java] 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 repeated number may be chosen from C unlim...
分类:编程语言   时间:2015-07-13 14:14:44    阅读次数:313
963条   上一页 1 ... 46 47 48 49 50 ... 97 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!