Linked List Cycle - Floyd's Algorithm

Use two pointers: slow moves 11 step, fast moves 22 steps. If there's a cycle, they will eventually meet.

1.1. Initialize both pointers at head.

2.2. Move slow by 11, fast by 22.

3.3. If fast reaches null, no cycle.

4.4. If slow meets fast, there's a cycle.

Why it works: in a cycle, fast gains 11 step per iteration. If the cycle has length LL, they meet within LL iterations.