Leetcode Window Function Javascript Code With Harry