Unique Length K Substring Leetcode Javascript Problems