Longest Substring Without Repeats
Find the length of the longest substring (contiguous) in which no character repeats.
Input
One string of lowercase letters.
Output
The length.
Constraints
1 to letters.
Sample 1
Input
abcabcbb
Output
3
Sample 2
Input
bbbbb
Output
1