Pergunta de entrevista da empresa Arm

An algorithmic question: finding the length of the longest substring without repeating characters.