Fixed typo on method variable input

This commit is contained in:
Jacob Delgado 2023-09-22 23:32:49 -07:00
parent a32bf78f4d
commit f5c20bdcca

View File

@ -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