solved Length of Longest Substring