Fade to Solo
Stack

Largest Rectangle in Histogram

NO NETHleetcode ↗

Problem

Given the heights of bars in a histogram (all the same width), find the area of the largest rectangle that fits entirely under the skyline.

NO NET00:00
no net — stays locked