
Data Structures & Algorithms · Problem Solving
Number of Islands: Exploring a Grid with Depth-First Search
Count connected regions of land with iterative depth-first search, track visited cells, and implement Number of Islands in C#, Go, and Python 3.
- Graphs
- Depth-First Search
- Grids

![The brackets {[()]} with the round pair highlighted, beside a stack holding {, [ and ( where ( is popped before the closing )](/_image?href=%2F_astro%2Fcover.R2rUE-K4.png&w=800&h=450&q=mid&f=webp&fit=cover)













