Question d’entretien chez Goldman Sachs

Based on string manipulation and patterns