Hopcroft–Karp Matching

grow a maximum bipartite matching through layers of shortest augmenting paths