Apple Interview Question

What is linear regression, how to solve for linear regression etc.