Question d’entretien chez Goldman Sachs

Describe an algorithm to detect a palindrome?