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