Technical Round: Coding Interview, Write a C program to check a string is palindrome or not
Utilisateur anonyme
class Solution: def isPalindrome(self, s: str) -> bool: newStr = '' for c in s: if c.isalnum(): newStr += c.lower() return newStr == newStr[::-1]