Problem 2410 · Medium

Maximum Matching of Players With Trainers

Sort players and trainers, then let each trainer take the weakest unmatched player they can train.

Open the interactive visualisation