add lengthOfLongestSubstring