码迷,mamicode.com
首页 >  
搜索关键字:combinations    ( 963个结果
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 number ...
分类:其他好文   时间:2015-03-15 22:36:24    阅读次数:144
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 the ...
分类:其他好文   时间:2015-03-15 21:11:57    阅读次数:122
Letter Combinations of a Phone Number
Letter Combinations of a Phone Number问题:iven a digit string, return all possible letter combinations that the number could represent.A mapping of digi...
分类:其他好文   时间:2015-03-15 16:30:01    阅读次数:148
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-03-13 15:48:38    阅读次数:115
Restore IP Addresses
Restore IP Addresses问题:Given a string containing only digits, restore it by returning all possible valid IP address combinations.思路: dfs + 回溯模板我的代码1:....
分类:其他好文   时间:2015-03-10 22:59:02    阅读次数:228
Combination Sum II
Combination Sum II问题:Given a collection of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers ...
分类:其他好文   时间:2015-03-10 16:59:16    阅读次数:153
Combination Sum
Combination Sum问题:Given a set of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sums toT.T...
分类:其他好文   时间:2015-03-10 16:55:40    阅读次数:185
Combinations
Combinations问题:Given two integersnandk, return all possible combinations ofknumbers out of 1 ...n.思路: dfs + 回溯我的代码:学习之处:常见的dfs+回溯模板 void dfs(){ ...
分类:其他好文   时间:2015-03-09 12:46:28    阅读次数:150
Generate Parentheses
Generate Parentheses问题:Givennpairs of parentheses, write a function to generate all combinations of well-formed parentheses.For example, givenn= 3, a ...
分类:其他好文   时间:2015-03-09 09:18:50    阅读次数:112
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 telephone buttons) is given below. Input:Digit string...
分类:其他好文   时间:2015-03-07 01:02:15    阅读次数:210
963条   上一页 1 ... 62 63 64 65 66 ... 97 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!