Uber interview question

Explain bayes classifier