Find number of possible subarrays from an array , where max and min difference of elements in subarray is less than the given limit.
input : limit ,array
output : return count of all possible combinations
Comments (3)
Find number of possible subarrays from an array , where max and min difference of elements in subarray is less than the given limit.
input : limit ,array
output : return count of all possible combinations