Question d’entretien chez Microsoft

Longest substring in a string without any double characters.