IQVIA interview question

write a program to find if a string is palindrome or not