4 ms·
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
by rofo1 7y 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.
- lordnacho 7y agohttps://www.nomachetejuggling.com/2014/06/24/the-worst-programming-interview-question/ https://www.nomachetejuggling.com/2014/06/24/the-worst-progr...
- wnmurphy 7y ago> 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.
- goatinaboat 7y agoIn real life development, if you do have a circular linked list unintentionally, what can you do other than terminate the program?