Pergunta de entrevista da empresa Jane Street

Basic probability, some coding questions