Given a binary matrix, return the distance of the nearest zero for each cell. The distance between two adjacent cells is 1.
Click Run to execute sample tests.