Find number of islands using DFS
Filed under Aspiring Minds
The question
Find the number of islands in a grid using a modification of depth-first search.
No write-up yet. Related questions below have one.
Related Aspiring Minds questions
Collected from public candidate posts and coding forums. Updated Nov 2026.