DIY: Largest Rectangle in Histogram
Solve the interview question "Largest Rectangle in Histogram" in this lesson.
We'll cover the following...
We'll cover the following...
Problem statement
We are given an array of n
non-negative integers representing the histogram’s bar height where the width of each bar is 1
. You ...