Amazon Interview Question

Efficient way to find a loop in a linked list.

Interview Answer

Anonymous

Nov 6, 2013

I implemented the tortoise and the hare algorithm. However, I didn't make it so I'm not sure what they were looking for.

3