Glossary: Coding Interviews in JavaScript
In-bounds check
Also written: bounds check
Making sure a grid neighbor is actually on the grid before you read it, so you don't go off an edge.
Glossary: Coding Interviews in JavaScript
Also written: bounds check
Making sure a grid neighbor is actually on the grid before you read it, so you don't go off an edge.