Number of Islands
Problems like "given an 2D binary grid grid
which represents a map of land and water, return the number of islands, an island is XXXX".
- 200. Number of Islandsopen
- 1020. Number of Enclavesopen
- 1254. Number of Closed Islands
- 1905. Count Sub Islandsopen
- 695. Max Area of Island
Ref: labuladong 题解