Red Ventures interview question

Longest substring without repeating characters