xinyu04

导航

2022年7月21日 #

LeetCode 695 Max Area of Island DFS

摘要: You are given an m x n binary matrix grid. An island is a group of 1's (representing land) connected 4-directionally (horizontal or vertical.) You may 阅读全文

posted @ 2022-07-21 16:29 Blackzxy 阅读(13) 评论(0) 推荐(0) 编辑

LeetCode 733 Flood Fill BFS模板

摘要: An image is represented by an m x n integer grid image where image[i][j] represents the pixel value of the image. You are also given three integers sr 阅读全文

posted @ 2022-07-21 15:14 Blackzxy 阅读(36) 评论(0) 推荐(0) 编辑