Barclays interview question

Linear regression definition and OLS