Pregunta de entrevista de Quantcast

Very standard spreadsheet processing problem