Javascript Questions On Leetcode 75