Pergunta de entrevista da empresa UST

Write a program that checks whether a given string is palindrome or not