MathWorks interview question

Criticism from supervisor