Stable marriage problem (source code)

= Stable marriage problem
{wiki=Stable_marriage_problem}