How to solve stack solve problem
Stock span problem
yes!! given in challenges
@Faizan-Ali-1395131367301898
There is a tutorial video for the same given in your course in under the Stacks and Queues video section. Kindly refer to it as both the logic and its implementation have been discussed in detail in that video so that should clear your doubts clearly. The problem is to be solved using a stack. I request you to refer to that video.