Update
This commit is contained in:
@@ -491,7 +491,7 @@ class Solution:
|
||||
return res
|
||||
```
|
||||
动态规划
|
||||
```python3
|
||||
```python
|
||||
class Solution:
|
||||
def trap(self, height: List[int]) -> int:
|
||||
leftheight, rightheight = [0]*len(height), [0]*len(height)
|
||||
|
||||
Reference in New Issue
Block a user