Google interview question

Probability questions