
Stack
slbyzdgz
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
LeetCode---Valid Parentheses、Min Stack、 Implement Stack using Queues
20.Valid Parentheses Given a string containing just the characters'(',')','{','}','['and']', determine if the input string is valid. An input string is valid if: Open brackets must be close...原创 2019-07-18 21:52:02 · 194 阅读 · 0 评论 -
LeetCode--- Next Greater Element I、Next Greater Element II
496.Next Greater Element I You are given two arrays(without duplicates)nums1andnums2wherenums1’s elements are subset ofnums2. Find all the next greater numbers fornums1's elements in the co...原创 2019-07-19 21:06:03 · 244 阅读 · 0 评论 -
LeetCode--- Baseball Game、Backspace String Compare、Remove Outermost Parentheses、1047
682.Baseball Game You're now a baseball game point recorder. Given a list of strings, each string can be one of the 4 following types: Integer(one round's score): Directly represents the number o...原创 2019-07-20 21:43:48 · 212 阅读 · 0 评论 -
LeetCode--- Evaluate Reverse Polish Notation、Minimum Add to Make Parentheses Valid
150.Evaluate Reverse Polish Notation Evaluate the value of an arithmetic expression inReverse Polish Notation. Valid operators are+,-,*,/. Each operand may be an integer or another expression....原创 2019-07-21 21:08:57 · 135 阅读 · 0 评论