Skip to content

Glossary: Coding Interviews

In-bounds check

Also written: in bounds, bounds check

Making sure a neighbor cell is on the grid before reading it, such as `0 <= r < rows`.

Where the book teaches it

Related terms

GridBFS (breadth-first search)