Glossary: Coding Interviews in C++
Flood fill
Starting at one grid cell and spreading to every connected cell of the same kind, like paint. It is used to mark an island.
Glossary: Coding Interviews in C++
Starting at one grid cell and spreading to every connected cell of the same kind, like paint. It is used to mark an island.