Pergunta de entrevista da empresa First Help Financial

Make a function that checks if a string is a palindrome.