码迷,mamicode.com
首页 >  
搜索关键字:parentheses    ( 825个结果
[LeetCode][Java] 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 valid parentheses substring is...
分类:编程语言   时间:2015-07-12 12:55:23    阅读次数:140
【LeetCode】224. Basic Calculator
Basic CalculatorImplement a basic calculator to evaluate a simple expression string.The expression string may contain open(and closing parentheses), t...
分类:其他好文   时间:2015-07-12 11:01:39    阅读次数:107
20 Valid Parentheses
20 Valid Parentheses链接:https://leetcode.com/problems/valid-parentheses/ 问题描述: Given a string containing just the characters ‘(‘, ‘)’, ‘{‘, ‘}’, ‘[’ and ‘]’, determine if the input string is valid.The...
分类:其他好文   时间:2015-07-11 09:08:46    阅读次数:103
[LeetCode][Java] Valid Parentheses
题目: Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. The brackets must close in the correct order, "()" and "()[]{}" are...
分类:编程语言   时间:2015-07-10 15:29:38    阅读次数:98
[leedcode 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-07-09 17:29:41    阅读次数:106
leetCode 32.Longest Valid Parentheses (有效的最大括号) 解题思路和方法
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 valid par...
分类:其他好文   时间:2015-07-08 19:08:38    阅读次数:115
Parentheses Column Values
Parentheses Column ValuesBetween the columns using four parentheses ‘(‘, ‘)’, ‘[‘, ‘]’, a correct parentheses column is defined as below:1. ‘()’ or ‘[...
分类:其他好文   时间:2015-07-08 17:56:24    阅读次数:97
LeetCode Valid Parentheses Remove Nth Node From End of List
public ListNode removeNthFromEnd(ListNode head, int n) { if(head==null) return null; if(n==0)//如果n==0 return h...
分类:其他好文   时间:2015-07-07 22:42:42    阅读次数:211
LeetCode22: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-07-07 13:00:44    阅读次数:105
leetCode 22.Generate Parentheses (生成括号) 解题思路和方法
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-07-07 09:30:46    阅读次数:106
825条   上一页 1 ... 50 51 52 53 54 ... 83 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!