Intel Corporation interview question

find the longest substring without duplicate chats in a string