Question d’entretien chez XYZ

Longest substring in a string with duplicate characters.