Pregunta de entrevista de Computer Network Systems (CNS)

How to do linear regression?