BNP Paribas Interview Question

write a function to find a string is palindrome or not