Optiver interview question

Code up a Linear Regression from scratch