Loading...
Engaged employer
Find the largest consecutive sum in an array.
Anonymous
I used a linear time algorithm that iterated through the array while keeping track of a current sum and a globalMax.
Check out your Company Bowl for anonymous work chats.
Get actionable career advice tailored to you by joining more bowls.
Stay ahead in opportunities and insider tips by following your dream companies.
Get personalised job recommendations and updates by starting your searches.