Frage im Vorstellungsgespräch bei Bank of America

Python algorithms and functions. How to solve an optimization problem Linear regression