FINRA interview question

Given a string, determine if it is a palindrome.