Two Sigma interview question

About prob question (hard)