Skip to content

Commit bc56774

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

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

strings/longest_valid_paranthesis.py

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

0 commit comments

Comments
 (0)