Wipro Interview Question

Check if a string is palindrome or not.