mirror of
https://github.com/CyC2018/Interview-Notebook.git
synced 2026-10-31 02:53:42 +00:00
Update Leetcode 题解 - 栈和队列.md
代码经力扣判题验证;难度标注按力扣更新,示例代码块的语言标注改为 text。
This commit is contained in:
@@ -95,7 +95,7 @@ class MyStack {
|
||||
|
||||
## 3. 最小值栈
|
||||
|
||||
155\. Min Stack (Easy)
|
||||
155\. Min Stack (Medium)
|
||||
|
||||
[Leetcode](https://leetcode.com/problems/min-stack/description/) / [力扣](https://leetcode-cn.com/problems/min-stack/description/)
|
||||
|
||||
@@ -142,7 +142,7 @@ class MinStack {
|
||||
|
||||
[Leetcode](https://leetcode.com/problems/valid-parentheses/description/) / [力扣](https://leetcode-cn.com/problems/valid-parentheses/description/)
|
||||
|
||||
```html
|
||||
```text
|
||||
"()[]{}"
|
||||
|
||||
Output : true
|
||||
@@ -177,7 +177,7 @@ public boolean isValid(String s) {
|
||||
|
||||
[Leetcode](https://leetcode.com/problems/daily-temperatures/description/) / [力扣](https://leetcode-cn.com/problems/daily-temperatures/description/)
|
||||
|
||||
```html
|
||||
```text
|
||||
Input: [73, 74, 75, 71, 69, 72, 76, 73]
|
||||
Output: [1, 1, 4, 2, 1, 1, 0, 0]
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user