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 1733a81 commit 97dfab3Copy full SHA for 97dfab3
valid-parentheses/kayden.py
@@ -1,5 +1,5 @@
1
# 시간복잡도: O(N)
2
-# 공간복잡도: O(N)
+# 공간복잡도: O(1)
3
class Solution:
4
def isValid(self, s: str) -> bool:
5
if len(s) % 2 != 0:
0 commit comments