Write a function to find longest substring with all distinct characters?
Login to Submit
Note: The longest substring should be to the end of the string as possible. Input: "aaaaabc" Output: "abc"