← Questions

Top three scores for each student

0
AppleCodingLast asked Aug 2025

Given records of student ID and score, return each student's three highest scores. Group by student and keep the top three with a small heap; when you learn that scores are whole numbers from 0 to 100, count them in buckets instead.

Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding