Anyone knows how to solve the "Online Stock Span" problem on leetcode?? I know the logic but can't understand what to do with the constructor that is provided.
Anyone knows how to solve the "Online Stock Span" problem on leetcode?? I know the logic but can't understand what to do with the constructor that is provided.
Top comments (2)
Hi Aryan, welcome to the DEV Community! Please feel free to include up to 4 tags that may help you reach a wider audience e.g a tag for #programming
thanks for the tip 😊