Nepedia
Back to Discover
Developing Reader
🔢

Stable roommates problem

math Maturity 7-9 Next article →

Imagine a group of friends. They want to pick room buddies. Each person has a list. They rank their friends from best to worst. We want to make pairs that are stable. This means no two people want to switch. If they switch, they might be happier. But sometimes, a stable match is not possible. The friends might keep wanting to swap. A smart way to solve this is an algorithm. It helps us find the best pairs. It can even tell us if no good match exists.

88 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.