← Abhinav Gupta

Zero sum subarrays(Hashing)

September 30, 2019

Zero sum subarrays

Problem

You are given an array A of size N. You need to print the total count of sub-arrays having their sum equal to 0

Solution - here

Complexity - O(N)

Code - here