Pregunta de entrevista de Capgemini

Write code for the given string is palindrome or not