
括号匹配
文章平均质量分 78
jmspan
这个作者很懒,什么都没留下…
展开
-
LeetCode 301. Remove Invalid Parentheses(删除无效的括号)
原题网址:https://leetcode.com/problems/remove-invalid-parentheses/Remove the minimum number of invalid parentheses in order to make the input string valid. Return all possible results.Note: The原创 2016-04-19 04:44:37 · 3183 阅读 · 0 评论 -
LeetCode 224. Basic Calculator(基本计算器)
原题网址:https://leetcode.com/problems/basic-calculator/Implement a basic calculator to evaluate a simple expression string.The expression string may contain open ( and closing parentheses ),原创 2016-04-05 02:33:50 · 964 阅读 · 0 评论 -
LeetCode 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 brackets must原创 2016-05-19 06:50:59 · 428 阅读 · 0 评论 -
LeetCode 253. Meeting Rooms II(会议室)
原题网址:https://leetcode.com/problems/meeting-rooms-ii/Given an array of meeting time intervals consisting of start and end times [[s1,e1],[s2,e2],...] (si < ei), find the minimum number of confe原创 2016-04-08 09:05:35 · 8145 阅读 · 0 评论