Back to course home
0% completed
Vote For New Content
asking for intuation : start of LinkedList cycle - Alternative approach
ron
Mar 18, 2025
does anyone know the name of the algorithm or provide an intuation for the correctness of the algorithm? mainly, the critical part of once a cycle was found and slow = fast, than if we reset slow to the head and .next them simultanasly until they met than they will meet in the start of the cycle necessarly?
0
0
Comments
Comments