Givennpairs of parentheses, write a function to generate all combinations of well-formed parentheses.For example, givenn= 3, a solution set is:"((()))...
分类:
其他好文 时间:
2015-05-28 09:24:31
阅读次数:
113
题目:Given a string containing only digits, restore it by returning all possible valid IP address combinations.For example:Given"25525511135",return["25...
分类:
其他好文 时间:
2015-05-28 09:17:01
阅读次数:
169
dfs 参考I II, 切不要K sumFind all possible combinations ofknumbers that add up to a numbern, given that only numbers from 1 to 9 can be used and each combi...
分类:
其他好文 时间:
2015-05-27 06:20:06
阅读次数:
134
Combination Sum IIGiven a collection of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sum...
分类:
编程语言 时间:
2015-05-27 00:50:58
阅读次数:
371
Combination Sum IIIFind all possible combinations ofknumbers that add up to a numbern, given that only numbers from 1 to 9 can be used and each combin...
分类:
编程语言 时间:
2015-05-27 00:44:49
阅读次数:
234
Generate ParenthesesGivennpairs of parentheses, write a function to generate all combinations of well-formed parentheses.For example, givenn= 3, a sol...
分类:
编程语言 时间:
2015-05-26 01:36:50
阅读次数:
674
Combination SumGiven a set of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sums toT.Thes...
分类:
其他好文 时间:
2015-05-25 23:51:40
阅读次数:
239
Find all possible combinations ofknumbers that add up to a numbern, given that only numbers from 1 to 9 can be used and each combination should be a u...
分类:
其他好文 时间:
2015-05-25 20:20:34
阅读次数:
130
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 a unique set of numbers...
分类:
其他好文 时间:
2015-05-25 18:48:23
阅读次数:
100
Find all possible combinations ofknumbers that add up to a numbern, given that only numbers from 1 to 9 can be used and each combination should be a u...
分类:
其他好文 时间:
2015-05-24 12:54:55
阅读次数:
152