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:"((...
分类:
其他好文 时间:
2015-04-25 11:58:22
阅读次数:
95
问题描述:
Given a digitstring, return all possible letter combinations that the number couldrepresent.
A mapping of digitto letters (just like on the telephone buttons) is given below.
Input:Digi...
分类:
其他好文 时间:
2015-04-24 19:15:54
阅读次数:
173
[Java]LeetCode17 Letter Combinations of a Phone Number...
分类:
编程语言 时间:
2015-04-24 10:36:33
阅读次数:
146
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-04-24 01:04:53
阅读次数:
138
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"]. (Order...
分类:
其他好文 时间:
2015-04-23 20:00:43
阅读次数:
147
Title:Given a collection of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sums toT.Each n...
分类:
其他好文 时间:
2015-04-22 11:24:37
阅读次数:
242
Title:Given a set of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sums toT.Thesamerepeat...
分类:
其他好文 时间:
2015-04-22 10:50:41
阅读次数:
125
Generate Parentheses
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:
"((()))", "(()())",...
分类:
其他好文 时间:
2015-04-21 22:41:56
阅读次数:
144
【问题】Given a collection of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sums toT.Each num...
分类:
其他好文 时间:
2015-04-21 17:54:48
阅读次数:
88
【问题】Given a set of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sums toT.Thesamerepeated...
分类:
其他好文 时间:
2015-04-21 17:28:36
阅读次数:
88