jbarth04 / room_solver Goto Github PK
View Code? Open in Web Editor NEWGiven n people who want to sort out room arrangements for n rooms, this program recursively solves all possible room combinations given the preferences from each user. If no room combinations are possible to satisfy "yes" preferences to each person, this program prints "no solution" to standard output.