You are given two players and trainers.
The value players[i] represents the ability of the trainers[j] represents the training capacity of the
The players[i] trainers[j]. Each player can be matched with at most
Return the maximum number of matchings that can be formed between players and trainers.
Constraints:
players.length, trainers.length
players[i], trainers[j]
You are given two players and trainers.
The value players[i] represents the ability of the trainers[j] represents the training capacity of the
The players[i] trainers[j]. Each player can be matched with at most
Return the maximum number of matchings that can be formed between players and trainers.
Constraints:
players.length, trainers.length
players[i], trainers[j]