Design a data structure that takes daily stock prices one at a time and returns each day's span — the run of consecutive days, ending today, priced at or below today.
Loading content...