Domanda di colloquio di Cognizant

I had to write a palindrome program