MathWorks Interview Question

Computer science questions- inheritance, design patterns