FINRA Interview Question

Given a string, determine if it is a palindrome.