Infosys Interview Question

ind if a string is a palindrome or not