01 Matrix
Each cell of a rectangular binary matrix holds either a 0 or a 1. For every cell, report the Manhattan distance to the closest cell that holds a 0: the number of horizontal and vertical steps in a shortest path that moves only between edge-adjacent cells, where the path may pass through any cell regardless of its value. Cells that already hold a 0 have distance 0.