MathWorks interview question

brain teasers