update solution for Longest Substring Without Repeating Characters