Open Vanshikagarg17 opened 2 years ago
Please assign this issue to me, I would like to solve this problem in C++ language in O(n) Time Complexity and O(n) Auxiliary Space
@neilotpal you can work on this issue. All the best!
Please assign this issue to me. Language=C++ Time complexity=o(n) Space Complexity=o(n) Thank you
Can you assign me this issue Language - C++ Time complexity-O(n)
Question : The stock span problem is a financial problem where we have a series of n daily price quotes for a stock and we need to calculate span of stock’s price for all n days. The span Si of the stock’s price on a given day, i is defined as the maximum number of consecutive days just before the given day, for which the price of the stock on the current day is less than or equal to its price on the given day.