MathWorks Interview Question

Basic OOP and data structures questions for coding on Hackerrank.