Given a string input of length n, find the length of the longest substring without repeating characters i.e return a substring that does not have any repeating characters.
Substring is the continuous sub-part of the string formed by removing zero or more characters from both ends.
Input format:
The first and the only line consists of a string of length n containing lowercase alphabets.
Output format:
You need to print the length of the longest unique characters substring.
Constraints:
1<= n <=10^5
Time Limit: 1 sec