Floyd's Cycle Finding algorithm using dual pointers moving at different speeds
2 standard techniques
Fast×2, slow×1 — meet inside a cycle.
Lead pointer n steps ahead.