General Motors (GM) Interview Question

Basic palindrome identification problem.