update 20

This commit is contained in:
sangge-rockpi 2024-01-20 13:48:01 +08:00
parent 15e24a8f25
commit a4e2623dbf

View File

@ -16,6 +16,9 @@ class Solution:
try:
if symbol_dict[stack_top] == i:
continue
else:
stack.append(stack_top)
except KeyError:
return False