Leetcode Subarray Products Hackerrank Javascript Learning Time