Citi interview question

Probability