update 20
This commit is contained in:
parent
15e24a8f25
commit
a4e2623dbf
@ -16,6 +16,9 @@ class Solution:
|
||||
try:
|
||||
if symbol_dict[stack_top] == i:
|
||||
continue
|
||||
else:
|
||||
stack.append(stack_top)
|
||||
|
||||
except KeyError:
|
||||
return False
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user