UBS interview question

Difference between logistic regression and linear regression