Graph Theory37 sections · 1633 units
Open in Course

Maximum Matching - Core Idea

(Kuhn's algorithm directly)

The core concept is recognizing the bipartite structure hidden in the problem statement. Identify the two groups LL and RR, determine which edges are valid based on the problem constraints, then apply Kuhn's algorithm.

Watch out for graphs that look bipartite but are not (they contain odd cycles). If the graph has an odd cycle, it is not bipartite and these algorithms do not apply. Use BFS coloring to check bipartiteness first.