mirror of
https://github.com/youngyangyang04/leetcode-master.git
synced 2025-07-13 14:10:38 +08:00
@ -117,7 +117,7 @@ class Solution:
|
||||
diff -= 1
|
||||
else:
|
||||
diff += 1
|
||||
if tilt == 0:
|
||||
if diff == 0:
|
||||
ans += 1
|
||||
return ans
|
||||
```
|
||||
|
Reference in New Issue
Block a user