Leetcode Subarray Products Hackerrank Javascript Basic Certification