cosmos icon indicating copy to clipboard operation
cosmos copied to clipboard

Number of Islands _ DFS.cpp

Open RuchNas-Pottah opened this issue 2 years ago • 3 comments

This contains an accepted solution to the problem 'Number of Islands' on LeetCode, done with the help of the Depth-First-Search algorithm.

Fixes issue: Added a concise and easily understandable code for the problem.

Changes: Made the code understandable, used DFS, and followed a proper breakdown of functions.

RuchNas-Pottah avatar Oct 10 '23 23:10 RuchNas-Pottah

Sir, I have updated the code with an explanation of the sample input.

RuchNas-Pottah avatar Oct 14 '23 19:10 RuchNas-Pottah

Include the complete code with main() function which one can run on terminal.

Sir, I have updated the complete code with the main() function that runs in the terminal.

RuchNas-Pottah avatar Oct 15 '23 06:10 RuchNas-Pottah

@AdiChat Sir please review my updated pull request

RuchNas-Pottah avatar Oct 25 '23 05:10 RuchNas-Pottah