Topic: Stack Problem / Level: intermediate

Problem: Write a program to find the minimum area of a rectangle formed under a histogram using a stack.

Run the code to see the output here...