You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Now, that we have figured outthat there is a cycle present in the linked list, for the next step we need to find out the starting point of cycle, i.e.,**C**.
36
+
Now, that we have figured outif there is a cycle present in the linked list, for the next step we need to find out the starting point of cycle, i.e.,**C**.
37
37
###Step 2: Starting point of the cycle
38
38
1. Reset the $slow$ pointer to the**head** of the linked list.
39
39
2. Move both pointers one step at a time.
40
-
3. The point they will meet at will be thestarting point of the cycle.
40
+
3. The point they will meet at will be thestarting point of the cycle.