Question d’entretien chez Energy Exemplar

Detect loop in a linked list

Réponse à la question d'entretien

Utilisateur anonyme

28 août 2024

2) The second question was to detect loop in a linked list, I gave the tortoise and hare approach to detect cycle in a linked list and the interviewer also asked me to write a code for it.