Wells Fargo interview question

Check if string is a palindrome