Question d’entretien chez Infosys

Palindrome string with and without alphanumeric characters.