MathWorks interview question

Go through leetcode mathworks tag.