stable marriage problem
noun1
Computer, Computing, Economics, Engineering, Mathematics, Natural sciences, Physical sciences, Science, Sciences The problem of finding a stable matching between two equal-sized sets of elements, given an ordering of preferences for each element.