Question d’entretien chez Infineon Technologies

How to detect a loop in linked list?