Goldman Sachs interview question

Detect Loop in a Linked List. Questions were easy-medium level