Skip to content
RED SAG Skills
mediumStudy question · answer published in Data Structures and Algorithms interview questions, so no pointsstacks-and-queues

Stock span problem

The stock span on a day is the number of days in a row, ending today, with price at or below today's. For prices [100, 80, 60, 70, 60, 75, 85], what is the span on the day the price is 75?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions