Question d’entretien chez Juniper Networks

How to detect loop in a linked list