Frage im Vorstellungsgespräch bei Energy Exemplar

Detect loop in a linked list

Antwort im Vorstellungsgespräch

Anonym

28. Aug. 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.