Problem B8 · Easy

Histogram: Monotonic Stack Rectangles

Find the largest rectangle made of contiguous histogram bars.

Open the interactive visualisation