Skip to content

Glossary: Coding Interviews in Java

Grid

Also written: grid[row][col]

Rows of cells read as `grid[row][col]`. Many problems hide a graph in a grid, like the warehouse floor of `.` and `#` characters.

Where the book teaches it

Related terms

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