Smatchcube's website 🌍


Exercise 3.19

This is the Floyd’s Tortoise and Hare algorithm, it uses two pointers traversing the structure at different speeds.