Update 1221.分割平衡字符串.md

This commit is contained in:
Liu YongLiang 2022-10-26 20:30:32 +08:00 committed by GitHub
parent 563cd82551
commit 1204f0e4ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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