← Goldman Sachs questions
CodingReported in a candidate post, Jul 2025

Average score per student from name-score pairs

Filed under Goldman Sachs

Given an array of (student name, score) pairs where names repeat, compute each student's average score. The linked prompt refers to finding the student with the highest average, so also return that…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Goldman Sachs questions

Collected from public candidate posts and coding forums. Updated Nov 2026.