Accenture interview question

Difference between logistic regression and linear regression and the examples