← ALL NOTES
Array

2410. Maximum Matching of Players With Trainers

Given players (abilities) and trainers (capacities), player i can train with trainer j if players[i] ≤ trainers[j]; each participates in at most one pairing. Find the maximum number of pairs. Classic…

Loading…