Fidelity Investments interview question

Questions based on my project and preference in coding languages