Balancing Teams

Balancing Teams

A sports coach must ensure that two teams in a competition are equally strong. Teams A and B have n and m players respectively, with skill levels stored in arrays teamA and teamB. A...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: