test_reference_grid_numline

Grid and NumberLine Primitives

BFS on a 5x5 Grid Maze

We run BFS on a 5x5 grid where 1 represents walls and 0 represents open cells. Starting from (0,0)(0,0), we search for a path to (4,4)(4,4).

Step 1 / 9

Binary Search on a NumberLine

Binary search for target value 1010 in the sorted range [0,15][0, 15].