Intuition
This is a nice little BFS problem. Basically this is a multi-node BFS where we populate the queue with all positions that contain 0, and fill in the current level for each node.
Implementation
Mnemonic
Imagine a virus spreading from multiply locations