Skip to content

Glossary: Coding Interviews in Go

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 made of `.` and `#` characters.

Where the book teaches it

Related terms

BFS on a gridDFS flood fillIn-bounds check