阅读背景:

[LeetCode] Shortest Distance from All Buildings 建筑物的最短距离

来源:互联网 

You want to build a house on an empty land which reaches all buildings in the shortest amount of distance. You can only move up, down, left and right. You are given a 2D grid of values 0, 1 or 2, where: land which r




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: