Wipro Interview Question

Palindrome code