Grab interview question

Fit a linear regression model.