Problem 733 · Easy

Flood Fill

Recolor the connected region of matching pixels that touches a starting cell. The visual spreads outward from the start in four directions.

Open the interactive visualisation