Fidelity Investments interview question

basic stuff