Overview
Gale-Shapley Algorithm applies letting one side propose while the other side keeps its best current proposal to handle stable matching with a named, inspectable procedure.
Gale-Shapley Algorithm uses letting one side propose while the other side keeps its best current proposal for stable matching.
Compact metadata for implementation and discovery.
Gale-Shapley Algorithm applies letting one side propose while the other side keeps its best current proposal to handle stable matching with a named, inspectable procedure.
Quick facts
Runtime and memory behavior at a glance.
Best
O(E)
Average
O(V^2 E)
Worst
O(V^2 E)
Space
O(V + E)
Show letting one side propose while the other side keeps its best current proposal on a small stable matching example.
Gale-Shapley Algorithm operates in O(V^2 E) time and O(V + E) space within the Stable Matching family. Often compared with Edmonds' Blossom Algorithm and Bipartite Matching DFS.
What each reference supports for this entry.
Reference for Gale-Shapley Algorithm's stable matching model and deferred-acceptance proposal process.
Original stable matching reference for proposal-based deferred acceptance.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
Graph Traversal · Core
Gale-Shapley Algorithm uses Bipartite Matching DFS as a subroutine, representation, or supporting idea while letting one side propose while the other side keeps its best current proposal.
Compare with thisGale-Shapley Algorithm uses Edmonds' Blossom Algorithm as a subroutine, representation, or supporting idea while letting one side propose while the other side keeps its best current proposal.
Gale-Shapley Algorithm uses Bipartite Matching DFS as a subroutine, representation, or supporting idea while letting one side propose while the other side keeps its best current proposal.
Gale-Shapley Algorithm uses Hungarian Algorithm as a subroutine, representation, or supporting idea while letting one side propose while the other side keeps its best current proposal.