There is so it seem to fundamental method of look for in the event that a linked list keeps a cycle and get back the fresh node that’s in the beginning of the cycle that is floy’s formula having slow/punctual advice. The fresh new password as well as the reasoning is clear except step one question. The new means lies in the assumption your node when you look at the the fresh new circle that advice will meet is precisely the same number of tips once the throughout the head of one’s listing right up until the start of brand new circle.
Read More