Pergunta de entrevista da empresa Jane Street

1) Math Question 2) Probability question