Pregunta de entrevista de XYZ

Longest substring in a string with duplicate characters.