Skip to content

Glossary: Coding Interviews in Rust

Grid

Also written: grid[row][col]

Rows of cells, read by row then column. Many problems hide a graph in one, such as the warehouse floor where `.` is floor and `#` is a shelf.

Where the book teaches it

Related terms

BFS (breadth-first search)In-bounds checkFlood fill