Domanda di colloquio di Jane Street

1) Math Question 2) Probability question