Pergunta de entrevista da empresa Fidelity Investments

Two live coding question and then basic technical questions. Got selected to HR round, but was not given offer.