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 f729634 commit b8f7262Copy full SHA for b8f7262
1501-2000/1614.py
@@ -8,4 +8,5 @@ def maxDepth(self, s: str) -> int:
8
ans = max(ans,len(stack))
9
elif c==")":
10
stack.pop()
11
+
12
return ans
0 commit comments