摘要:
A group of two or more people wants to meet and minimize the total travel distance. You are given a 2D grid of values 0 or 1, where each 1 marks the h 阅读全文
posted @ 2016-03-14 05:45
Joyce-Lee
阅读(193)
评论(0)
推荐(0)
摘要:
You are given a m x n 2D grid initialized with these three possible values. Fill each empty room with the distance to its nearest gate. If it is impos 阅读全文
posted @ 2016-03-14 05:22
Joyce-Lee
阅读(255)
评论(0)
推荐(0)
摘要:
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. 阅读全文
posted @ 2016-03-14 05:15
Joyce-Lee
阅读(284)
评论(0)
推荐(0)

浙公网安备 33010602011771号