Persistent Systems Interview Question

Check whether the given string is palindrome or not