Question d’entretien chez Goldman Sachs

longest repeating substring in a given string