← All problems
Medium · Graphs
Walls And Gates
Fill empty rooms with distances to their nearest reachable gates.
Full problem and submission ↗Fill empty rooms with distances to their nearest reachable gates.
Full problem and submission ↗