Cognizant Interview Question

Asked about string palindrome .