why all the testcases are wrong?
Https://www.hackerrank.com/challenges/largest-rectangle/problem
@Chandra123 You code will not pass all the cases. Refer the Histogram Area lecture video which is there in the Stacks section of your course. That problem is very similar to this one. Watch that lecture and then try to code on yourself. If you are unable to implement that then please reply back.
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.