This theory is part of Premium
The full write-up (worked counting examples, the trap list and the interview playbook) unlocks with a Premium plan, along with every Pro visualizer.
See pricingFast & slow pointers (middle, cycle)
What this asks
Find the middle node, and answer whether the list loops and where the loop starts, all with two pointers.
Slow one hop, fast two hops: fast's ending gives the middle, and a meeting followed by a reset gives the cycle entry.
Try the matching visualizer modeThe full write-up (worked counting examples, the trap list and the interview playbook) unlocks with a Premium plan, along with every Pro visualizer.
See pricing