1792. Maximum Average Pass Ratio
Description
**Input:** classes = [[1,2],[3,5],[2,2]], extraStudents = 2
**Output:** 0.78333
**Explanation:** You can assign the two extra students to the first class. The average pass ratio will be equal to (3/4 + 3/5 + 2/2) / 3 = 0.78333.**Input:** classes = [[2,4],[3,9],[4,5],[2,10]], extraStudents = 4
**Output:** 0.53485ac
Last updated