maze solving: implement stub
maze solving: implement stub: a task in smol-software-harbor (Harbor dataset). ShortestPath in maze/maze.go is a stub. Implement it with a breadth-first search: return the minimal number of up/down/left/right steps from S to E through open cells ( . , and E itself), never through walls ( ) or…
The task
`ShortestPath` in `maze/maze.go` is a stub. Implement it with a breadth-first search: return the minimal number of up/down/left/right steps from `S` to `E` through open cells (`.`, and `E` itself), never through walls (`#`) or outside the grid; return -1 when `E` is unreachable. Rows may have different lengths. Run…
Part of efederici/smol-software-harbor.