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 7cbe849 commit 43213a1Copy full SHA for 43213a1
valid-palindrome/devyulbae.py
@@ -19,4 +19,5 @@
19
class Solution:
20
def isPalindrome(self, s: str) -> bool:
21
filtered_s = ''.join(char.lower() for char in s if char.isalnum())
22
- return filtered_s == filtered_s[::-1]
+ return filtered_s == filtered_s[::-1]
23
+
0 commit comments