Skip to content

Commit 3fd11fe

Browse files
authored
Update longest_valid_parenthesis.py
added longest_valid_parenthesis.py
1 parent 8441f5e commit 3fd11fe

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

strings/longest_valid_parenthesis.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
def longest_valid_parenthesis(s: str) -> int:
22
"""
33
Returns the length of the longest valid parenthesis
4-
:param s:
5-
:return: int
64
>>> longest_valid_parenthesis('(()')
75
2
86
>>> longest_valid_parenthesis(')()())')

0 commit comments

Comments
 (0)