Back to Browse

Subscriber Challenge Problem #2 - Zero Sum Subarrays

155 views
Jun 20, 2021
13:33

You are given an array arr[] of size n. Find the total count of sub-arrays having their sum equal to 0. Your Task: You don't need to read input or print anything. Complete the function findSubarray() that takes the array arr and its size n as input parameters and returns the total number of sub-arrays with 0 sum.

Download

1 formats

Video Formats

360pmp417.6 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Subscriber Challenge Problem #2 - Zero Sum Subarrays | NatokHD