MathWorks interview question

Good technical