On a grid of empty land, buildings and obstacles, find the empty cell with the smallest total walking distance to every building.
On a grid of empty land, buildings and obstacles, find the empty cell with the smallest total walking distance to every building.
Opens with the full question.