Goldman Sachs interview question

How do you detect a loop in a linked list