Pergunta de entrevista da empresa Meta

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

Resposta da entrevista

Sigiloso

24 de jun. de 2025

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