Tripadvisor interview question

The typical palindrome 2-pointer question, return whether a string is a palindrome.