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...
Count all triplets with sum less than target in a given array x Problem Statement Given an array arr of unsorted numbers and a target sum, count all triplets in it such that arr+arr+arr...
Find all triplets with sum zero in an array x Problem Statement Given an array of unsorted numbers, find all unique triplets in it that add up to zero. Example...
Remove duplicates from sorted array in place x Problem Statement Given an array of sorted numbers, remove all duplicates from it. You should not use any extra space; after removing the...
Squaring a sorted array x Problem Statement Given a sorted array, create a new array containing squares of all the number of the input array in the...