Sponsored
Use these hints if you're stuck. Try solving on your own first.
Try sorting the skill array.
It is always optimal to pair the weakest available player with the strongest available player.
Solve with full IDE support and test cases