Create longestSubstringWithoutRepeat