Google DeepMind Interview Question

what is bayes theorem and it's applications?