← 返回 meta 的题目列表Maximum Unique String
类型:online_judge
Given a string, return the length of the longest substring that contains only unique characters. For example:
Input:
abcbcabcbb
Output:
3
Input:
bbbbb
Output:
1
Note: The substring is a contiguous sequence of characters.
Example
Input
abcbcabcbb
Output
3