Fidelity Investments Interview Question

nothing much difficult