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 5960de9 commit 6a7eccfCopy full SHA for 6a7eccf
valid-palindrome/joon.py
@@ -3,7 +3,7 @@
3
4
class Solution:
5
# Time: O(n)
6
- # Space: O(1)
+ # Space: O(n)
7
def isPalindrome(self, s: str) -> bool:
8
# 1. Convert string
9
0 commit comments