Leetcode Longest Substring Without Repeating Characters In Java