Leetcode Subarray Products Hackerrank Practice