DRW interview question

Difficult math and stats questions.