The Gale-Shapley algorithm is missing. The algorithm is used for finding a solution to the stable matching problem.