In this video we are going to be going over how to solve Leetcode problem #200: Number of Islands. This is another quite simple problem that can be solved using a depth first search.
While this problem is not particularly interesting, A LOT of Leetcode problems have a solution that follows this structure so it's definitely important to know how to implement the DFS here.
Ещё видео!