matrix/shortest_path_in_grid library

Functions

shortestPathInGrid(List<List<int>> grid) int
Finds the length of the shortest path from (0,0) to (m-1,n-1) in a binary grid using BFS.