MediumDarbar · Graphs

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)

  1. Attempt log (approaches that failed)
  2. Final complexity (time and space)
  3. One mistake corrected
  4. Production concept this slot reinforces

Personal dates and the CSV tracker stay in the learner journal.

Same subtopic

Graphs index · Darbar hub


Darbar slot 126 of Tensor-to-Tenant · Previous · Next.