Energy Exemplar Interview Question

Detect loop in a linked list

Interview Answer

Anonymous

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