Fidelity Investments Interview Question

A scenario based question on DSA.