write a function that checks if the received string is a palindrome
Resposta da entrevista
Sigiloso
19 de mai. de 2022
Leetcode: Is a palidrome question
Solution in Python 3:
newString = ""
for c in s:
if c.isalnum():
newString += c.lower()
return newString == newString[::-1]