Walls and Gates
摘要:
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-07-17 15:55 Sheryl Wang 阅读(209) 评论(0) 推荐(0) 编辑