Given an array of positive integers and an integer k, count the number of contiguous subarrays whose product is strictly less than k.
Input
kOutput: the count of qualifying subarrays.
10 5 2 6 100
8
[10], [5], [2], [6], [10 5], [5 2], [2 6], [5 2 6].
1 2 3 0
0
Run your code against the sample tests, or Submit to run the full suite.