MathWorks interview question

Java based technical questions and one leetcode easy