General Motors (GM) Interview Question

How would you solve a palindrome?