Fidelity Investments Interview Question

Dsa easy to medium level questions