http://www.mytechinterviews.com/loop-in-a-singly-linked-list
He seems to think it's the end of the story when he trots out the usual "tortoise and hare" algorithm, without mentioning that it's more efficient to use a teleporting tortoise.
http://www.mytechinterviews.com/loop-in-a-singly-linked-list
He seems to think it's the end of the story when he trots out the usual "tortoise and hare" algorithm, without mentioning that it's more efficient to use a teleporting tortoise.