Pergunta de entrevista da empresa Qualtrics

I had to test whether a string was palindrome.