xinyu04

导航

2022年5月20日 #

LeetCode 542 01 Matrix 多源BFS

摘要: Given an m x n binary matrix mat, return the distance of the nearest 0 for each cell. The distance between two adjacent cells is 1. Solution 给定一个 $01$ 阅读全文

posted @ 2022-05-20 05:01 Blackzxy 阅读(20) 评论(0) 推荐(0) 编辑