Jane Street interview question

conditional probability