algorithms.tutorialhorizon.com

Count and print all Subarrays with product less than K | Algorithms

Given an array of positive integers and integer 'K'. Write an algorithm to count all the possible sub arrays where product of all the elements in the sub array is less than k.