Pregunta de entrevista de Infosys

Palindrome string with and without alphanumeric characters.