Pregunta de entrevista de Meta

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

Respuesta de la entrevista

Anónimo

24 jun 2025

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