Fidelity Investments Interview Question

basic oops