Skip to content
Avio Lines
← Graphs lineD17Stop 22 of 145

Number of Provinces (LeetCode 547) – Part 2

MediumLeetCode 547 · BFS · Google, Amazon +7 · 10:11Number of Provinces - (Google, Microsoft,Amazon) · BFS · Graph Concepts & Qns - 11 · Explanation-Code
MIK's code LeetCode ↗ YouTube ↗

My notes

Sign in to keep private notes on every station, with video timestamps.

Try it before watching

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 2 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
BFS, DFS
Chapter
Graphs
Duration
10:11