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 the longest positive streak is of length ...
- is a middle ground and can count as both a positive and negative streak.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.