Number of Islands solution | Leetcode Graph DFS HIndi | Graph Hello world Playlist #200

preview_player
Показать описание
This is the video under the series of DATA STRUCTURE & ALGORITHM in a GRAPH Playlist. Now we are going to solve the Number of Islands Depth First Search ( DFS ).
In this video, we are going to solve the "Number of Islands" which is a basic Question on the GRAPH series.

---------------------------------------------------------------------------------------

► 200. Number of Islands
Given an m x n 2D binary grid which represents a map of '1's (land) and '0's (water), return the number of islands.
An island is surrounded by water and is formed by connecting adjacent lands horizontally or vertically. You may assume all four edges of the grid are all surrounded by water.

Input: grid = [
["1","1","0","0","0"],
["1","1","0","0","0"],
["0","0","1","0","0"],
["0","0","0","1","1"]
]
Output: 3

We also Provide courses on Competitive Programming and Data structure and Algorithms. Please see our Full Playlist on our Channel.

----------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------

*Follow me *
----------------------------------------------------------------------------------------

►Our Playlists on:-

------------------------------------------------------------------------

🌟 Please leave a LIKE ❤️ and SUBSCRIBE for more AMAZING content! 🌟

✨ Tags ✨
Introduction to the graph data structure
Graph playlist Hello world
Depth First Search
Graph hello world
Types of graphs in Data structure & algorithms
DFS Graph
playlist Graph Hindi
hashing playlist Hello World
question asked in Google
off-campus placement
how to learn to code for beginners
Practice Tree data structure
Adjacency matrix in the graph
The graph in a data structure in Hindi
Graph Full playlist for Beginners
uninformed search
informed search
informed vs uninformed search
algorithms
graph
dynamic programming
data structure
sorting algorithms
algorithm analysis
algorithm examples
gate computer science preparation
engineering
it
ms
programming languages

#graph #Leetcode #programming
Рекомендации по теме
Комментарии
Автор

I could do it on my own. Thanks to you!

MalobikaNandy
Автор

Thanks a lot, Sir. I was able to code just by seeing your explanation.

SaumyaSharma
Автор

Wow sir 100% clarity of problem🔥, aisa lga kitna easy h but jb maine problem ye dekha tha to mujhe lga kaise kre ye ab

kishoreyadav
Автор

I was able to code it myself, even though ive done it month ago but totally forgot, and now i write it with the learnings i got from your videos, even i wrote it more simpler than last time, Feeling more confident with each video❤❤❤❤❤❤

deep-jv
Автор

I just saw half of your video and literally was able to code myself. Thank you so much. Keep making videos for us and can you please include the time and space complexity as well in the videos.

mahakdashore
Автор

I was able to solve on my own, thank you for this playlist

rishabhagarwal
Автор

god
prabhu shukriya
Been watching a lot of videos on youtube for graphs this is the only topic left that I haven't studied you seem to have simplified this really easy
thanks!
Also placements for 2025 batch are coming up please please make a video on that!

nerduser
Автор

your videos are very helpful. thank you sir

anushka
Автор

Literally best possible explanation bhaiya .Thanks alot!

Shadowishperz
Автор

Isko unorder map se adjecency list me convert karke numeber of disconnected graph count kr le to nahi hoga?

life_emotion_hurt
Автор

khela khatam 😁😁 bihari bhasha nicee... thanks for the playlist.it's wonderful. literally.

abhishekkeshri
Автор

Great Video, your explanation is good enough to solve the puzzle

snehaldave
Автор

Thank for sharing, finally understood this problem😃

kamyakamya
Автор

Very detailed and jod explanation, thanks a lot Prince bhai

pritishpattnaik
Автор

Explained very well bhaiya😇. I'll re watch it to get the feel of approach

pramodkrverma
Автор

Very nice explanation your graph is very helpful

SonuKumar-sfch
Автор

18:22 mistake hai, row and column( with i-row, j-col)

surajprakashsinghh
Автор

Able to solve it myself bhaiya❤ only bcoz of consistency and ur teachings ❤u

sudhadevi
Автор

literally bro this is the explanation i am looking for thanks buddy

akshanshsharma
Автор

could feel it till last sec
thanks sir!

kushpatel