The thing that makes the fresh fulfilling part of a loop exact same amount of strategies while the beginning of the linked record?

The thing that makes the fresh fulfilling part of a loop exact same amount of strategies while the beginning of the linked record?

You will find so it seem to simple approach to get a hold of when the a linked checklist features a pattern and come back the fresh node which is at the start of the duration which is floy’s formula that have slow/punctual pointers. The fresh code as well as the why are Syracuse, OH women so beautiful logic is obvious but step 1 situation. The fresh means is based on the belief that the node into the the fresh circle the recommendations will meet is strictly a comparable number of tips since the about direct of your listing right up until the beginning of the newest loop. You to definitely part is what I really don’t score. So if Sluggish and you may Timely each other initiate on head from the list, whenever Slow does k strategies and you can has reached the start of the newest cycle, Timely gets done 2k steps and that’s effortlessly k procedures to the circle. Rapidly is ahead of sluggish by k actions and you will about off sluggish (which is in the very beginning of the circle) Letter – k in which N ‘s the cycle size.