Given a string s, return the length of the longest substring that contains no repeating characters.
Input: one line s.
Output: the length as an integer.
abcabcbb
3
"abc" has length 3.
bbbbb
1
"b" has length 1.
Run your code against the sample tests, or Submit to run the full suite.