2491. Divide Players Into Teams of Equal Skill - Explanation

Problem Link