Given a string s, find the length of the longest substring without repeating characters.
s
Input:
Output:
Example:
abcabcbb
3
Example 1
Input: abcabcbb
Output: 3
The longest substring without repeating characters is 'abc'.
Constraints
Hints