Number of Provinces (LeetCode 547) – Part 1
MediumLeetCode 547 · DFS · Google, Amazon +7 · 19:09Number of Provinces - (Google, Microsoft ) · DFS · Graph Concepts & Qns - 10 · Explanation-CodeMy notes
Sign in to keep private notes on every station, with video timestamps.
Pause here and write your approach in two lines. Compare it with MIK's when the video ends.
Sign in to write your approach →About this video
Video solution (part 1 of 2) for LeetCode 547 Number of Provinces by codestorywithMIK: Graphs, Medium. Topics: Depth-First Search, Breadth-First Search, Union-Find, Graph Theory. Watch the explanation, then check the code and solve it on LeetCode.
- Difficulty
- medium
- Topics
- Depth-First Search, Breadth-First Search, Union-Find, Graph Theory
- Patterns
- DFS
- Chapter
- Graphs
- Duration
- 19:09
Related problems
- Graph Concepts & Qns - 4 (Microsoft, Amazon, Flipkart) : Detect Cycle in Undirected Graph using DFS
- Course Schedule (LeetCode 207)
- Course Schedule-II (LeetCode 210)
- Is Graph Bipartite ? (LeetCode 785)
- Strongly Connected Components
- Hierholzer's Algorithm (LeetCode 2097)
- Diameter Of Undirected Graph (LeetCode 1245)
- Find Minimum Diameter After Merging Two Trees (LeetCode 3203)