Pergunta de entrevista da empresa Galil Software

Write a function that checks whether a string is a palindrome