Skip to content

Commit 5fc6444

Browse files
authored
Update longest_valid_parenthesis.py
added necessary changes
1 parent cb0b8c5 commit 5fc6444

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,6 +1,6 @@
11
def longest_valid_parenthesis(self, s: str) -> int:
22
"""
3-
Returns the length of the longest valid paranthesis
3+
Returns the length of the longest valid parenthesis
44
>>> longest_valid_parenthesis('(()')
55
2
66
>>> longest_valid_parenthesis(')()())')

0 commit comments

Comments
 (0)