Glossary: Coding Interviews in Rust
In-bounds check
Also written: in bounds, bounds check
A test that a grid neighbor lies on the grid before it is read. Using `i32` coordinates lets `row - 1` reach -1 and be caught by the check instead of underflowing as a `usize` would.