G4 · Specialist · 8 min

Flood Fill Lab

Click land to start a wavefront. Count every island. Walls block. The queue order is the lesson — layer by layer, not a random walk.

islands found

0 / 2

Click a land cell (lime) to run BFS. Water is dark. Each flood is one island.