码迷,mamicode.com
首页 >  
搜索关键字:parentheses    ( 825个结果
[LeetCode]Fraction to Recurring Decimal
Given two integers representing the numerator and denominator of a fraction, return the fraction in string format. If the fractional part is repeating, enclose the repeating part in parentheses....
分类:其他好文   时间:2015-02-15 23:10:42    阅读次数:359
Valid Parentheses
https://oj.leetcode.com/problems/valid-parentheses/Given a string containing just the characters'(',')','{','}','['and']', determine if the input stri...
分类:其他好文   时间:2015-02-15 20:30:40    阅读次数:183
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-02-14 06:32:54    阅读次数:238
22.Generate Parentheses
Given n pairs of parentheses, write a function togenerate all combinations of well-formed parentheses. For example, given n = 3, a solution set is: "((()))","(()())", "(())()", "()(())", "()()()" H...
分类:其他好文   时间:2015-02-10 23:18:29    阅读次数:396
转载 ACM训练计划
leetcode代码利用堆栈:http://oj.leetcode.com/problems/evaluate-reverse-polish-notation/http://oj.leetcode.com/problems/longest-valid-parentheses/ (也可以用一维数组,贪...
分类:其他好文   时间:2015-02-10 20:13:24    阅读次数:351
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-02-10 14:48:16    阅读次数:164
leetcode[32]Longest Valid Parentheses
Given a string containing just the characters'('and')', find the length of the longest valid (well-formed) parentheses substring.For"(()", the longest...
分类:其他好文   时间:2015-02-10 14:45:36    阅读次数:169
leetcode_20_Valid Parentheses
麻烦各位朋友帮忙顶一下增加人气,如有错误或疑问请留言纠正,谢谢 Valid Parentheses  Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. The brackets must clo...
分类:其他好文   时间:2015-02-10 11:23:26    阅读次数:123
[leetcode]Generate Parentheses
Generate Parentheses解题
分类:其他好文   时间:2015-02-10 00:21:15    阅读次数:161
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-02-09 14:09:47    阅读次数:113
825条   上一页 1 ... 63 64 65 66 67 ... 83 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!