Basically I have list of players, and I want to pair them up so that each player will play everyone once. What\'s the quickest way to find this data?
assuming that players do not appear in the list twice, a double for loop is very quick:
for
for (int i=0, i <= playerList.Count - 2, i++) for (int j=i+1, j <= playerList.Count - 1, j++) //add a new pairing of player i and j