Three graph questions, three invariants
- MST: join every vertex while preserving an acyclic forest.
- SCC: separate mutual reachability from one-way reachability.
- Matching: assign each endpoint at most once, while allowing rerouting.
Predict which problem needs undirected edges, directed edges, or separate left/right IDs.
1 / 8