cosmos
                                
                                 cosmos copied to clipboard
                                
                                    cosmos copied to clipboard
                            
                            
                            
                        Number of Islands _ DFS.cpp
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.
Sir, I have updated the code with an explanation of the sample input.
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.
@AdiChat Sir please review my updated pull request