LeetCode 200. Number of Islands&130. Surrounded Regions--DFS

两道题应该分别是我在蓝桥杯和南大夏令营遇到的原题,比较类似code 题目连接orm 200. Number of Islandsip Given a 2d grid map of '1's (land) and '0's (water), count the number of islands. An island is surrounded by water and is formed by c
相关文章
相关标签/搜索