Graph Algorithms and Combinatorial Optimization
-
Breadth-First Search and Distance Layers
Prove the queue invariant behind unweighted shortest paths and reconstruct a path without storing every candidate.
-
Depth-First Search and Edge Classification
Use entry and exit times to distinguish ancestry, recognize back edges and reason about directed cycles.
-
Topological Ordering and Dependency Scheduling
Construct an order by repeatedly taking zero-indegree vertices and use unfinished work to detect a dependency cycle.
-
Strongly Connected Components and Condensation
Contract mutually reachable vertices into a DAG and explain why a second graph traversal isolates each component.
-
Bridges, Articulation Points, and Low-Link Values
Recognize where a DFS subtree can reconnect to its ancestors and derive the correct threshold for edges and vertices.
-
Dijkstra’s Algorithm and Its Settling Invariant
Use a cut between settled and unsettled vertices to prove when a tentative nonnegative distance becomes final.
-
Bellman–Ford by Bounded Edge Counts
Interpret relaxation rounds as dynamic programming over path length and use one further round to detect a reachable negative cycle.
-
Shortest and Longest Paths in a DAG
Solve shortest and longest paths with negative edge weights by evaluating one dependency order.
-
Graph Reweighting with Vertex Potentials
Show why adding a vertex-potential difference preserves path comparisons and how feasible potentials support repeated shortest-path searches.
-
A* Search, Admissibility, and Consistency
Explain the lower-bound priority in A* and why consistent heuristics permit a graph-search implementation without reopening settled states.
-
The Cut Property for Minimum Spanning Trees
Use a cut and an exchange to prove that a light edge can extend an acyclic set of selected edges.
-
Maximum Flow and Minimum Cut Certificates
Derive a dual bound from conservation and reconstruct a cut certified by the final residual graph.
-
Residual Networks and Reversible Flow Decisions
Treat each residual edge as an allowed change to a feasible flow and see why cancellation can be necessary for an optimum.
-
Bipartite Matching and Alternating Paths
Explain why a path alternating matched and unmatched edges can increase matching size, and prove the converse through symmetric difference.
-
Minimum-Cost Flow and Reduced Costs
Use residual cycles to characterize optimality and maintain nonnegative reduced costs during shortest-path augmentation.
-
Weighted Interval Scheduling by Prefix DP
Find the compatible predecessor of each interval and derive a recurrence that compares taking and skipping it.
-
Tree Decompositions and Separator Dynamic Programming
Check the running-intersection property and explain why small bags make some graph problems tractable.
-
The Binary Cycle Space of a Graph
Use a spanning forest to construct an independent set of cycles and derive the dimension of all even-degree edge sets.
-
Majority Tournaments and the Top Cycle
Use strongly connected components to analyze pairwise majority rankings even when individual preferences are transitive.
-
Deferred Acceptance and Stable Matching
Prove stability by tracking rejections and distinguish a feasible pairing from a pairing without mutually preferred alternatives.