Pergunta de entrevista da empresa Cognizant

Palindrome coding question was asked.