We would like to make groups of people to organise them into different random work teams.
Write a function that takes the list of attendees, the size of the rooms (number of people per room) and the number of rounds.
The function will organise the rooms minimizing the number of repetitions per round.
The result of the function is a list of lists containing rooms with participants.
Coming soon... 🥁
- Number of rounds: 2
- Participants: Ada, Mary, Sara, Angela, Rita, Marta, Cristina, Nina, Josefa, Noe, Carolina, Yazmina, Adassa, Carmen, Juani, Sonia, Monica, Nuria, Carla, Jessi, Emilia.
- Room size: 2
Juani - Monica,
Carmen - Sara,
Nina - Noe,
Nuria - Carolina,
Josefa - Emilia,
Cristina - Carla,
Jessi - Mary,
Angela - Yazmina,
Marta - Ada,
Sonia - Adassa y Rita
Angela - Carmen,
Mary - Ada,
Rita - Jessi,
Josefa - Monica,
Adassa - Carla,
Nuria - Cristina,
Noe - Carolina,
Juani - Yazmina,
Marta - Sara,
Emilia - Sonia y Nina
Reference Kata: https:/lean-mind/break-out-rooms-kata/blob/main/README.md