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.
Glossary: Coding Interviews in Go
Starting at one grid cell and spreading, like paint, to every connected cell of the same kind. It marks a whole island as visited.