Skip to content

Commit 4b2d714

Browse files
authored
Create Readme.md
1 parent 3593735 commit 4b2d714

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
### 1905.Count-Sub-Islands
2+
3+
本题的思路其实很简单,就是在grid2里面搜索一个联通的island。如果island的每一个格子在grid1里面都对应着1,那么这个island就是一个sub island。

0 commit comments

Comments
 (0)