Sollicitatievraag bij MathWorks

Explaining your code from the HackerRank challenge, analyzing runtime