Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

largest subarray with sum 0

Input:
N = 8
A[] = {15,-2,2,-8,1,7,10,23}
Output: 5
Explanation: The largest subarray with
sum 0 will be -2 2 -8 1 7.
Source by practice.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #largest #subarray #sum
ADD COMMENT
Topic
Name
1+6 =