Histogram using stack

code–>


what is wrong with my code help

Hey @sheikhhaji18
I am not able to figure out all the mistakes
Some are mentioned in it https://ide.codingblocks.com/s/382071

Will check it again in some time :slight_smile:

all test cases passed :upside_down_face: :upside_down_face: :upside_down_face: :upside_down_face: :upside_down_face: :upside_down_face:
question->
https://practice.geeksforgeeks.org/problems/maximum-rectangular-area-in-a-histogram-1587115620/1#
code–>

1 Like