Fidelity Investments interview question

Walk me through this program