hello sir/mam,
yesterday i started solving the following problem using stack..
https://www.hackerrank.com/challenges/largest-rectangle
this is my solution
i think my code is entirely correct,,,but dont know where it is going wrong.....answer has to be 9 for the sample input....but i am getting it as 5..
could any on pls say error in my code..