Everpure interview question

Check if the string is palindrome