Skip to content

Glossary: Coding Interviews in Go

Flood fill

Starting at one grid cell and spreading, like paint, to every connected cell of the same kind. It marks a whole island as visited.

Where the book teaches it

Related terms

IslandDFS flood fill