Shortest Path in a Changing Maze
Stable Maze
Given a maze (2D grid), 0s represent roads and 1s represent walls. What is the shortest path (minimum number of steps) that you can go from the starting point to the end point?Example
I:
0 0 0 0
0 1 0 0
0 0 1 0
0 1 1 0
O: 5Mutable Maze with One Bomb
Example
I:
0 0 0 0
0 1 0 0
0 0 1 0
0 1 1 0
O: 5Mutable Maze with K Bombs
Example
Last updated