Hacker News new | ask | show | jobs
by rofo1 2505 days ago
The second pointer going twice the speed? I don't know the story, but I know the solution, because I've seen it.

Similarly for many other tricks.

I have never used it in real-life development, though.

3 comments

> I know the solution, because I've seen it.

> I have never used it in real-life development, though.

I'd wager both of these are true for the majority of technical interview problems, and I think that's exactly the point.

In real life development, if you do have a circular linked list unintentionally, what can you do other than terminate the program?