3 ms·I find that the Gale–Shapley algorithm is generally a good solution to this problem.by ottorobotto 12y agoI find that the Gale–Shapley algorithm is generally a good solution to this problem.