MathWorks Interview Question

linear regression, heap