码迷,mamicode.com
首页 >  
搜索关键字:parentheses    ( 825个结果
栈—summertraining#2.A题
You are given a string consisting of parentheses()and[]. A string of this type is said to becorrect:(a)if it is the empty string(b)if A and B are corr...
分类:其他好文   时间:2015-07-24 22:14:43    阅读次数:113
2015 HUAS Summer Training#2 A
题目:You are given a string consisting of parentheses()and[]. A string of this type is said to becorrect:(a)if it is the empty string(b)if A and B are c...
分类:其他好文   时间:2015-07-24 20:22:24    阅读次数:89
Basic Calculator
Implement a basic calculator to evaluate a simple expression string.The expression string may contain open(and closing parentheses), the plus+or minus...
分类:其他好文   时间:2015-07-23 13:35:37    阅读次数:109
[leetcode] 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-07-23 09:22:36    阅读次数:110
【LeetCode-面试算法经典-Java实现】【022-Generate Parentheses(生成括号)】
【022-Generate Parentheses(生成括号)】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题  Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.   For example, given n = 3...
分类:编程语言   时间:2015-07-23 08:15:55    阅读次数:137
平衡的括号
题目:You are given a string consisting of parentheses()and[]. A string of this type is said to becorrect:(a)if it is the empty string(b)if A and B are c...
分类:其他好文   时间:2015-07-22 22:29:10    阅读次数:382
Problem A 栈
DescriptionYou are given a string consisting of parentheses () and []. A string of this type is said to be correct:(a)if it is the empty string(b)if A...
分类:其他好文   时间:2015-07-22 22:14:56    阅读次数:138
【LeetCode-面试算法经典-Java实现】【020-Valid Parentheses(括号验证)】
【020-Valid Parentheses(括号验证)】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题  Given a string containing just the characters ‘(‘, ‘)’, ‘{‘, ‘}’, ‘[’ and ‘]’, determine if the input string is valid.   The brackets...
分类:编程语言   时间:2015-07-22 09:30:07    阅读次数:141
2015 HUAS Summer Training#2~A
DescriptionYou are given a string consisting of parentheses()and[]. A string of this type is said to becorrect:(a)if it is the empty string(b)if A and...
分类:其他好文   时间:2015-07-21 20:14:16    阅读次数:112
uva 673 Parentheses Balance
Parentheses Balance You are given a string consisting of parentheses () and []. A string of this type is said to be correct: (a)if it is the empty string(b)if A and B are correct, AB is cor...
分类:其他好文   时间:2015-07-20 23:45:00    阅读次数:227
825条   上一页 1 ... 48 49 50 51 52 ... 83 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!