Prorize interview question

Probability