PragyachoudharyContiguous SubarraysYou are given an array arr of N integers. For each index i, you are required to determine the number of contiguous subarrays that fulfill…Dec 5, 2021Dec 5, 2021