Question d’entretien chez Goldman Sachs

LC easy and debugging (fix some logical errors in the question)