Skip to content

Commit 68be0dc

Browse files
authored
Apply suggestion from @cclauss
1 parent 2ffcef5 commit 68be0dc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

data_structures/stacks/balanced_parentheses.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ def balanced_parentheses(parentheses: str) -> bool:
99
True
1010
>>> balanced_parentheses("[(])")
1111
False
12+
>>> balanced_parentheses("1+2*3-4")
13+
True
1214
>>> balanced_parentheses("{}")
1315
True
1416
>>> balanced_parentheses("))((")

0 commit comments

Comments
 (0)