Robota.ua interview question

Linear regression description, how it works