Google Interview Question

"Code a palindrome checker algorithm."