Glossary: Coding Interviews in Java
Flood fill
Starting at one grid cell and spreading, like paint, to every connected cell of the same kind. It is used to mark or count connected groups, such as shelf blocks on a warehouse floor.
Glossary: Coding Interviews in Java
Starting at one grid cell and spreading, like paint, to every connected cell of the same kind. It is used to mark or count connected groups, such as shelf blocks on a warehouse floor.