Goldman Sachs interview question

Describe an algorithm to detect a palindrome?