Pergunta de entrevista da empresa Apple

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