Hacker News new | past | comments | ask | show | jobs | submit login

He has the classic "find a loop in a linked list" question here:

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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: