Pergunta de entrevista da empresa Veeva Systems

What logic would you use for a palindrome?