Topic: Language Problem / Level: advanced

Problem: Write a program to find the total number of islands in a grid using depth-first search.

Run the code to see the output here...