Microsoft interview question

longest substring without repeating chars