Skip to content

Commit d3abc71

Browse files
authored
Update longest_valid_parenthesis.py
added longest_valid_parenthesis.py
1 parent 3491901 commit d3abc71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

strings/longest_valid_parenthesis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
def longest_valid_parenthesis(self, s: str) -> int:
1+
def longest_valid_parenthesis(s: str) -> int:
22
"""
33
Returns the length of the longest valid parenthesis
44
>>> longest_valid_parenthesis('(()')

0 commit comments

Comments
 (0)