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