didn’t understand the approach and why only use stacks??
Stock span problem
Hey @vashishthkuntal.gajjar2019
You can do this without stack as well
But we are doing in stack so that u get comfortable with stacks as well.
Now tell me what u didnt understood and I will try to help u with it but before doing that see the video again and then do a dry run on some different example urself
Then only ask what u are not able to get