Skip to content

Fast & Slow Pointers

Find the cycle start

From the Fast & Slow Pointers lesson: A hare and a tortoise: if there's a loop, they meet.

Step with → or Next. When a question pops up, make your guess. Switch to “Try your own” to run it on your input.

Getting the demo ready…

More from Fast & Slow Pointers