filmov
tv
Number of Islands solution | Leetcode Graph DFS HIndi | Graph Hello world Playlist #200
Показать описание
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
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
Комментарии