getting wrong answer upon submitting
Histogram area stack
Plz go through this online video lecture given in your course under stack as : https://youtu.be/MhQPpAoZbMc
Make changes in your code accordingly…
I have written the code accordingly, it works fine for sample inputs
but it is showing wrong answer on submitting