You are given a positive integer array skill of even length skill[i] represents the skill level of the
Divide the players into
The chemistry of a team is equal to the product of the skills of the two players on that team.
Return the sum of the chemistry of all teams, or return
Constraints:
skill.length
skill.length is even.
skill[i]
You are given a positive integer array skill of even length skill[i] represents the skill level of the
Divide the players into
The chemistry of a team is equal to the product of the skills of the two players on that team.
Return the sum of the chemistry of all teams, or return
Constraints:
skill.length
skill.length is even.
skill[i]