Fidelity Investments Interview Question

Questions based on my project and preference in coding languages