Pergunta de entrevista da empresa Data Axle

Given an input string find the longest substring without duplicates.