American Express interview question

Given a string, determine if it is a palindrome