Google interview question

Bayesian Method