MathWorks interview question

Basic programming questions