Practice these depth-first search problems to strengthen your understanding of DFS concepts.
Count the number of islands in a 2D grid.
Input: Example input
Output: Example output
Solidify your understanding of depth-first search by solving these carefully selected problems.
Count the number of islands in a 2D grid.
Input: Example input
Output: Example output
Complete your first problem to start tracking progress
Easy
0/0
Medium
0/7
Hard
0/3
Total
0/10
After practicing depth-first search problems, explore these related topics:
Practice these depth-first search problems to strengthen your understanding of DFS concepts.
Count the number of islands in a 2D grid.
Input: Example input
Output: Example output
Solidify your understanding of depth-first search by solving these carefully selected problems.
Count the number of islands in a 2D grid.
Input: Example input
Output: Example output
Complete your first problem to start tracking progress
Easy
0/0
Medium
0/7
Hard
0/3
Total
0/10
After practicing depth-first search problems, explore these related topics: