Available question text
Given classes with current pass/total counts and some extra students who always pass, assign the extras to maximize the overall average pass ratio; the core challenge is greedily choosing which class gets each extra by repeatedly picking the class with the largest marginal increase in pass ratio (use a max-heap to do this efficiently for up to 1e5 extras).
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 1792. Maximum Average Pass Ratio
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source