Javascript – Return all possible matchups for a set of 32 teams who have a smaller subset of allowable opponents
I'm having a problem writing an algorithm to return all possible valid matchups for a set of 32 teams. The rules are: The schedule is for only one game per pair of teams. This does not need to be a…