Question d’entretien chez Intel Corporation

write a function that checks if the received string is a palindrome

Réponse à la question d'entretien

Utilisateur anonyme

19 mai 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]