Sub-array with 0 sum
Given an array of integers A, find and return whether the given array contains a non-empty subarray with a sum equal to 0.
If the given array contains a sub-array with sum zero return 1, else return 0.
Problem Constraints
1 <= |A| <= 100000
-10^9 <= ...
codeanddebtfreejourney.hashnode.dev3 min read