Fixed typo on method variable input
This commit is contained in:
parent
a32bf78f4d
commit
f5c20bdcca
@ -68,7 +68,7 @@ def sumBacketsReverce(self, height: list[int], left, right):
|
|||||||
return total, locationMinRight
|
return total, locationMinRight
|
||||||
|
|
||||||
|
|
||||||
def trap(self, height: List[int]) -> int:
|
def trap(self, height: list[int]) -> int:
|
||||||
right = len(height)-1
|
right = len(height)-1
|
||||||
left =0
|
left =0
|
||||||
totalSum =0
|
totalSum =0
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user