Pergunta de entrevista da empresa Nagarro

Program to find if the given string is palindrome or not ?