Darbar 126 — Number Of Provinces
Medium
Darbar · Graphs
Catalog slot 126 of 548 (source id 849). Topic graphs / dfs.
Solve on LeetCode: Number Of Provinces. Do not treat this page as a statement dump.
Aligned T2T band: weeks 46–57. Start at Week 46. Full map: Darbar hub.
Pattern block: State machines and simulations (weeks 16-30, slots 121-200). Warmup: Simulation and state-transition drills. Exam: 2-3 state-machine problems in 60 minutes.
Also filed under: graphs / bfs, graphs / connected components, graphs / strongly connected components, graphs / union find.
Triangulation — Graphs: Darbar speed is BFS/DFS and shortest paths; Forge depth is SCC, flow, matching, min-cost flow; production artifact is Workflow and routing platform.
Evidence (cookiecutter problem_126.md)
- Attempt log (approaches that failed)
- Final complexity (time and space)
- One mistake corrected
- Production concept this slot reinforces
Personal dates and the CSV tracker stay in the learner journal.
Same subtopic
- Find If Path Exists In Graph · easy
- All Paths From Source To Target · medium
- Minimum Number Of Vertices To Reach All Nodes · medium
- Keys And Rooms · medium
Darbar slot 126 of Tensor-to-Tenant · Previous · Next.