This commit is contained in:
chefyuan
2021-03-20 13:38:47 +08:00
parent 32645f57bc
commit 0ae38e3d73
3 changed files with 47 additions and 4 deletions

View File

@@ -1,3 +1,5 @@
###
### leetcode 42 接雨水
这道接雨水也是一道特别经典的题目,一道必刷题目,我们也用单调栈来解决。下面我们来看一下题目吧
@@ -75,8 +77,6 @@
![](https://img-blog.csdnimg.cn/20210319163622150.gif)
### 题目代码:
```java
@@ -115,3 +115,15 @@ class Solution {
}
```
###