Developer-Student-Clubs-VSSUT-Burla / Master-PyAlgo

36 stars 84 forks source link

Stock Span Problem #472

Open U-c0de opened 3 years ago

U-c0de commented 3 years ago

Is your feature request related to a problem? Please describe. Stock Span Problem Explanation : Stock span is defined as the number of days passed between the current day and the first day before today when price was higher than today.

Describe the solution you'd like A simple and concise approach which is implemented using Stack, it is somewhat as finding max on the left.

@rcoder23 @i-tick Assign me this

U-c0de commented 3 years ago

Assign this to me @rcoder23