Pergunta de entrevista da empresa Optiver

First part was an 8 minute fast mental math quiz.