Coderwriting
Problem Overview
- Determine which student has the highest average grade from records formatted as "[name]: [grade]".
- Input: a list of student grade entries (grades 1–5) with multiple entries per student; each average is unique; output the top-performing student.
- Context: a teacher analyzing class grades to find the best overall performer.
- This Ziprecruiter interviews coding interview problem is a common interview question; reasonable efficiency is sufficient.
Example
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Input Variables
Execution Result:
