Wipro Interview Question

check whether it is a palindrome