Pergunta de entrevista da empresa Jump Trading

Math related questions and their complexity