NVIDIA interview question

longest substring without repeating characters