Ezvor

1086. High Five

EasyArray Preparing judge… LeetCode
ArrayHash TableSortingHeap (Priority Queue)

Hints

Hint 1
How can we solve the problem if we have just one student?
Hint 2
Given an student sort their grades and get the top 5 average.
Hint 3
Generalize the idea to do it for many students.