Topic: Queue Problem / Level: advanced

Problem: Write a program to compute the largest rectangle that can be formed in a histogram using a queue.

Run the code to see the output here...