Domanda di colloquio di Fidelity Investments

Mostly oop question and some design pattern.