longestSubstring, simple and easy.