Fidelity Investments interview question

basic oops