MathWorks Interview Question

Basically as I described in the interview process.