Valid Parentheses问题:Given a string containing just the characters'(',')','{','}','['and']', determine if the input string is valid.The brackets must c...
分类:
其他好文 时间:
2015-03-13 22:11:32
阅读次数:
198
[LeetCode] 032. Longest Valid Parentheses (Hard) (C++)...
分类:
编程语言 时间:
2015-03-13 16:35:05
阅读次数:
170
题目描述:Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.The brackets must close in ...
分类:
其他好文 时间:
2015-03-11 17:02:55
阅读次数:
98
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
[LeetCode] 022. Generate Parentheses (Medium) (C++/Python)...
分类:
编程语言 时间:
2015-03-05 10:49:48
阅读次数:
146
[LeetCode] 020. Valid Parentheses (Easy) (C++/Java/Python)...
分类:
编程语言 时间:
2015-03-04 21:11:45
阅读次数:
159
DescriptionLet S = s1 s2...s2n be a well-formed string of parentheses. S can be encoded in two different ways:q By an integer sequence P = p1 p2...pn ...
分类:
其他好文 时间:
2015-03-04 18:18:17
阅读次数:
117
Given a string containing just the characters '(' and ')',
find the length of the longest valid (well-formed) parentheses substring.
For "(()", the longest valid parentheses substring is "()",
...
分类:
其他好文 时间:
2015-02-27 21:37:53
阅读次数:
138
https://oj.leetcode.com/problems/generate-parentheses/Given n pairs of parentheses, write a function to generate all combinations of well-formed paren...
分类:
其他好文 时间:
2015-02-20 21:59:00
阅读次数:
324
括号匹配Given a string containing just the characters'(',')','{','}','['and']', determine if the input string is valid.The brackets must close in the corr...
分类:
其他好文 时间:
2015-02-19 13:58:09
阅读次数:
176