Fidelity Investments interview question

Average intro to CS questions