Question d’entretien chez Meta

Technical Round: Coding Interview, Write a C program to check a string is palindrome or not

Réponse à la question d'entretien

Utilisateur anonyme

24 juin 2025

class Solution: def isPalindrome(self, s: str) -> bool: newStr = '' for c in s: if c.isalnum(): newStr += c.lower() return newStr == newStr[::-1]