We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb0b8c5 commit 5fc6444Copy full SHA for 5fc6444
strings/longest_valid_parenthesis.py
@@ -1,6 +1,6 @@
1
def longest_valid_parenthesis(self, s: str) -> int:
2
"""
3
- Returns the length of the longest valid paranthesis
+ Returns the length of the longest valid parenthesis
4
>>> longest_valid_parenthesis('(()')
5
6
>>> longest_valid_parenthesis(')()())')
0 commit comments