Staples Interview Question

Implement a linear regression model from scratch? What addition can be do to it to make it more efficient.