what’s the mistake in my code:-
Balanced paranthesis
hello @coderajay03

here before looking for p.top() , u need to check whether stack is empty of not.
because on empty stack these operations will raise segmentation fault.
Don’t know why my code is not able to pass test case plz suggest solution:
sorry bhaiya this question is of area of histogram in stacks I want correction for this one only.
pls raise a new doubt from that problem window .
I asked but the one who took that doubt didn’t cleared in good way like u do so I personally posted that doubt here for u bhaiya!!
u can raise another doubt from the same window.
i will take it and will help u with our doubt
okay bhaiya
will do that
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.