1086. High Five
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.
Preparing judge…