This theory is part of Premium
The full write-up (worked counting examples, the trap list and the interview playbook) unlocks with a Premium plan, along with every Pro visualizer.
See pricingGrid-as-graph flood fill: each unvisited land cell starts one island walk.
What this asks
Count the separate land regions on a grid.
Flood fill: each unvisited land cell starts one island walk that marks its whole region.
The full write-up (worked counting examples, the trap list and the interview playbook) unlocks with a Premium plan, along with every Pro visualizer.
See pricing