Com2uS interview question

How to efficiently detect a loop in a linked list.

Interview Answer

Anonymous

Jan 1, 2015

The hare and tortoise algorithm.