Amazon interview question

Longest substring without any repeating characters