Graphs · chapter 38
Scan a grid and flood each new island with BFS or DFS.
DSA for coding interviews/Flood fill: number of islands
Loading the chapter...
sdev works best with JavaScript enabled. The courses live on YouTube.