Question d’entretien chez Goldman Sachs

the question was leet code easy