Persistent Systems Interview Question

Check if a given string is Palindrome or not.