Infosys Interview Question

Palindrome string with and without alphanumeric characters.