Question d’entretien chez ServiceNow

How to detect cycle in linked list?