Competitive-Programming-and-Contests-VP-Solution

The repository that contains all solutions made for the course Competitive Programming and Contests by the University of Pisa

View the Project on GitHub

Kadanes Algorithm

Solved Solution Time :clock11:
:heavy_check_mark: Iterative solution ? ms

Solution or Solution discussion

The solution is a simple iteration over the input array and sum the element that are greater than one of the previous element.