Question d’entretien chez Cognizant

Asked we to write code for palindrome