Classify Longest Substring without Repeating Chars to class 3