Shortest path in a grid with blocked cells

0
Remix

Given a grid in which some cells are blocked, return the length of the shortest path from a start cell to a target cell, moving up, down, left or right, or report that no path exists.

UberCodingLast asked Jun 2026
No answer yet. Write the first one; the best answer gets endorsed.