Pregunta de entrevista de Jane Street

One excel sheet, and a write-up answer