Pergunta de entrevista da empresa Fidelity Investments

A scenario based question on DSA.