top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Find the max sum of a sub array using C?

0 votes
301 views
Find the max sum of a sub array using C?
posted Jul 25, 2017 by anonymous

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
+2 votes

Say you are given an array which has all duplicate members except one, which out this non-duplicate member.

+1 vote

Array consist of -1 and 1, Find count of all sub-arrays where sum = 0.
Input:
[-1,1,-1,1]

Output:
4
[-1,1] [1,-1],[-1,1],[-1,1,-1,1]

...