Pergunta de entrevista da empresa Check Point Software Technologies

find the longest substring with distinct characters,