Longest Substring Without Repetition Leetcode Javascript 30