Domanda di colloquio di Tata Consultancy Services

What is string and write a code for palindrome