Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. private List<Lobby> getLobbies(List<Party> parties, int maxTeamSize) {
  2. // Lobby: List<Party> team1, List<Party> team2
  3. // Party: List<String> members
  4. List<Lobby> lobbies = new ArrayList<>();
  5.  
  6. // Create as many lobbies with given parties as possible. Parties have size of n, with max size of maxTeamSize. First entries of parties should be matched first.
  7.  
  8. return lobbies;
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement