# Positive streak

Given a list of positive and negative integers that were arranged at random it is required to find the longest positive streak, that is the longest sub-sequence of positive numbers.

What is the length longest positive streak in text file.

Details and Assumptions

-In the array $$[-1, 4, 3, -2, 4]$$ the longest positive streak is of length $$2$$...$$[4, 3]$$

-$$0$$ is a middle ground and can count as both a positive and negative streak.

×