Pregunta de entrevista de GitHub

Pairing interview, where you need do some data processing.