Pergunta de entrevista da empresa Jane Street

Using Excel to do some basic calculation.