3 ms·
The first time I heard the problem of detecting a circular link in a linked list, I figured out the tortoise/hare solution in probably 15 minutes without having
by mark-r 7y ago
The first time I heard the problem of detecting a circular link in a linked list, I figured out the tortoise/hare solution in probably 15 minutes without having heard it before, so it's not impossible.
- commandlinefan 7y agoYou should have written a paper.
- mark-r 7y agoI was hardly the first person to figure it out.