Leetcode Subarray Products Hackerrank Python Leap