摘要: Given an n x n grid containing only values 0 and 1, where 0 represents water and 1 represents land, find a water cell such that its distance to the ne 阅读全文
posted @ 2021-12-05 14:36 CNoodle 阅读(171) 评论(0) 推荐(0)
摘要: You are starving and you want to eat food as quickly as possible. You want to find the shortest path to arrive at any food cell. You are given an m x 阅读全文
posted @ 2021-12-05 12:39 CNoodle 阅读(1256) 评论(0) 推荐(0)