TalentPace interview question

Check the given string is palindrome or not?