UST Interview Question

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