Count Number of Islands using Graphs | Data Structure and Algorithms
In this video, we discuss the Number of Islands problem where
1. You are given a 2d array where 0's represent land and 1's represent water. Assume every cell is linked to it's north, east, west and south cell.
2. You are required to find and count the number of islands.
For a better experience and more exercises, VISIT: https://www.pepcoding.com/resources/online-java-foundation
#graphs #dfs #leetcode
Have a look at our result: https://www.pepcoding.com/placements
Follow us on our FB page: https://www.facebook.com/pepcoding
Follow us on Instagram: https://www.instagram.com/pepcoding
Follow us on LinkedIn: https://www.linkedin.com/company/pepcoding-education
Join us on Telegram: https://t.me/joinchat/UVTjJE83a-zFnPB
Видео Count Number of Islands using Graphs | Data Structure and Algorithms канала Pepcoding
1. You are given a 2d array where 0's represent land and 1's represent water. Assume every cell is linked to it's north, east, west and south cell.
2. You are required to find and count the number of islands.
For a better experience and more exercises, VISIT: https://www.pepcoding.com/resources/online-java-foundation
#graphs #dfs #leetcode
Have a look at our result: https://www.pepcoding.com/placements
Follow us on our FB page: https://www.facebook.com/pepcoding
Follow us on Instagram: https://www.instagram.com/pepcoding
Follow us on LinkedIn: https://www.linkedin.com/company/pepcoding-education
Join us on Telegram: https://t.me/joinchat/UVTjJE83a-zFnPB
Видео Count Number of Islands using Graphs | Data Structure and Algorithms канала Pepcoding
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Get Connected Components of Graphs in JAVA | Data Structure and AlgorithmsNumber of islands | Leetcode #200The Placement Program | Placements | Product Based Companies | FAANG | Live sessionNumber of Islands - LeetCode 200 PythonCoin Change Combination Problem Dynamic Programming Explained | Coin Change Minimum Number of CoinsN Queens - Solution | Recursion | Data Structures and Algorithms in JAVAClimbing Stairs - Dynamic Programming using Tabulation | Recursive Staircase ProblemLongest Consecutive Sequence - Solution | Hashmap and Heap | Data Structure and Algorithms in JAVAMaximum Sum Non Adjacent Elements Dynamic Programming | Greedy ApproachNUMBER OF ISLANDS - Leetcode 200 - PythonEasily Solve Graph Problems with DFS!! | Data Structure and AlgorithmsAlgorithms: Solve 'Connected Cells' Using DFSPlacement strategy for the upcoming placement season with Sumeet sirKosaraju Algorithm ( Strongly Connected Component) | graphsTower of Hanoi solved using Recursion | Recursion Euler Tree in JAVAIs a Graph Bipartite? | Bipartite Graph Algorithm in JAVA | Graph AlgorithmsGet Subsequence - Introduction to Arraylists | Recursion | Data Structures and Algorithms in JAVALeetCode 200. Number of Islands [Algorithm + Code Explained ] Graph Traversal SolutionNumber of Operations to Make Network Connected | Leetcode #1319 | MST | DFS