Goldman Sachs Interview Question

String compression and one about calculating the maximum average of students' scores in a 2D array