Fidelity Investments interview question

A challenge I faced before