Infosys Interview Question

Check if a string in palindrome or not