hospitals-and-residents

A generalized solution for working with matching problems similar to the hospitals and residents.