Question d’entretien chez Goldman Sachs

How do you detect a loop in a linked list