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
相關文章
相關標籤/搜索