📝 **Task:** Write `longest_unique(s)` returning the length of the longest substring of `s` with all distinct characters. Print `longest_unique('abcabcbb')`.
📋 Implement the function above. Test cases run automatically.
💡 **Hint:** Re-read the theory if you get stuck — the pattern is right there.