海洋陆地地图 from collections import dequeclass Solution: def maxDistance(self, grid): queue = deque() row = len(grid) col = len(grid[0]) res = [[0 for _ in range(row)]for _ in range(col)] visited = [[False for _ in range(ro 图 2024-04-29 53 点赞 0 评论 80 浏览