3 ms·Check out the stable marriage problem and the deferred acceptance algorithm which solves itby acc_297 4y agoCheck out the stable marriage problem and the deferred acceptance algorithm which solves it