Problem 286 · Medium
Walls and Gates
Fill grid with distance to gate.
BFS
Graph
Open the interactive visualisation