Stable marriage problem

A matching problem in which participants rank potential partners and a matching is stable when no unmatched pair would both prefer each other to their assigned partners.

Connect