Skip to content

Commit ec09f3f

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent d929b71 commit ec09f3f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

strings/longest_valid_parenthesis.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ def longest_valid_parenthesis(self, s: str) -> int:
2727
while stack:
2828
res = max(res, stack.pop())
2929
return res * 2
30+
31+
3032
if __name__ == "__main__":
3133
from doctest import testmod
34+
3235
testmod()

0 commit comments

Comments
 (0)