Find all subarrays with product less than target x Problem Statement Given an array with positive numbers and a target number, find all of its contiguous subarrays whose product is...
Find length of longest subarray with contiguous ones after replacement x Problem Statement Given an array containing 0s and 1s, if you are allowed to replace no more than ‘k’ 0s with...
Length of smallest subarray with a sum greater than or equal to S x Problem Statement Given an array of positive numbers and a positive number ‘S’, find the length of the smallest contiguous subarray...
Finding max sum of subarray with a given length in an array x Problem Statement Given an array of positive numbers and a positive number ‘k’, find the maximum sum of any contiguous subarray of...