码迷,mamicode.com
首页 >  
搜索关键字:parentheses    ( 825个结果
*Valid Parentheses
题目:Given a string containing just the characters'(',')','{','}','['and']', determine if the input string is valid.The brackets must close in the corre...
分类:其他好文   时间:2015-09-16 06:23:35    阅读次数:147
Generate Parentheses
Givennpairs of parentheses, write a function to generate all combinations of well-formed parentheses.For example, givenn= 3, a solution set is:"((()))...
分类:其他好文   时间:2015-09-10 15:56:46    阅读次数:139
[LeetCode]Generate Parentheses
Generate ParenthesesGivennpairs of parentheses, write a function to generate all combinations of well-formed parentheses.For example, givenn= 3, a sol...
分类:其他好文   时间:2015-09-09 19:22:20    阅读次数:173
[leetcode 22]generate parentheses
1 题目:Givennpairs of parentheses, write a function to generate all combinations of well-formed parentheses.For example, givenn= 3, a solution set is:"(...
分类:其他好文   时间:2015-09-06 22:49:12    阅读次数:340
Longest Valid Parentheses Leetcode 32 一种奇特的解法
题目:Given a string containing just the characters '(' and ')', find the length of the longest valid (well-formed) parentheses substring. For "(()", t.....
分类:其他好文   时间:2015-09-02 20:42:12    阅读次数:176
[Leetcode] Basic Calculator
Basic CalculatorImplement a basic calculator to evaluate a simple expression string.The expression string may contain open ( and closing parentheses )...
分类:其他好文   时间:2015-08-31 21:14:54    阅读次数:144
Leetcode Algorithm No.241Different Ways to Add Parentheses
题目来自Leetcode Given a string of numbers and operators, return all possible results from computing all the different possible ways to group numbers and operators. The valid operators are +, - and *. ...
分类:其他好文   时间:2015-08-31 15:21:41    阅读次数:189
[LeetCode] 22 - Generate Parentheses
Givennpairs of parentheses, write a function to generate all combinations of well-formed parentheses.For example, givenn= 3, a solution set is:"((()))...
分类:其他好文   时间:2015-08-29 16:37:44    阅读次数:116
【LeetCode】20. Valid Parentheses
题目:Given a string containing just the characters'(',')','{','}','['and']', determine if the input string is valid.The brackets must close in the corre...
分类:其他好文   时间:2015-08-25 18:23:37    阅读次数:120
LeetCode-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-08-20 15:19:58    阅读次数:138
825条   上一页 1 ... 44 45 46 47 48 ... 83 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!