← All tasks
Graphs·Medium

Number of Islands

Grid DFS/BFS — flood fill.

Open on LeetCode ↗

Your notes