Question d’entretien chez Cognizant

Write a program to find palindrome in a string