Question d’entretien chez Fidelity Investments

In the Tech Interview ,I couldn't answer a few puzzles.