Question d’entretien chez Goldman Sachs

HackerRank coding assessment with two questions.