Pergunta de entrevista da empresa Money View

write function to check if a string is palindrome or not