The span of a stock's price for a given day is the maximum number of consecutive days (including the current day) the price has been less than or equal to the price on that day. Given an array of…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.