CodingEasy
Highly Profitable Months
Filed under JPMorgan Chase
The question
Given an array of stock prices over n months and an analysis parameter k, find the number of intervals of length k where stock prices are strictly increasing.
No write-up yet. Related questions below have one.
Related JPMorgan Chase questions
Collected from public candidate posts and coding forums. Updated Nov 2026.