I have an assignment for school where I get a file with 25 names and I create every possible combination of 2 person groups.
When it has looped through the 25 names it has to do it again and make a new unique list.
This has to continue until there are no possible combinations left.
None of the lists are allowed to be the same and 1 person is only allowed to get paired with someone once. So person one cannot be paired with person 2 in 2 different lists.
I have been searching for a while now what algorithm I can use for this.
Any suggestions?