Pergunta de entrevista da empresa BNP Paribas

write a function to find a string is palindrome or not