Fidelity Investments interview question

nothing much difficult