2015-2: Longest Streak
Write code that takes a numeric vector and returns the length of the longest streak of positive growth.
Examples
Implementation
You can also run the tests via ⌘/shift + enter
Write code that takes a numeric vector and returns the length of the longest streak of positive growth.