Fidelity Investments Interview Question

Mostly oop question and some design pattern.