← Goldman Sachs questions

Maximum average score from student marks and string compression

Filed under Goldman Sachs

Part 1: Given an array of student name and score pairs, find the maximum average score among all students. Part 2: Implement basic string compression using counts of repeated consecutive characters…

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.