MathWorks interview question

Leet code medium and hard questions for the coding