Walmart interview question

Find longest substring without repeated characters