Amazon interview question

Difference between generative and discriminative classifiers