MathWorks Interview Question

Object Oriented design concepts and time complexity analysis were focused on.