Match Day 101: How does the medical residency match work?
...programs submit a ranked list of their preferred students. A mathematical algorithm then decides on the matches optimized for both parties. The algorithm is designed to achieve stable matches, so...