DIY: Largest Rectangle in Histogram

Solve the interview question "Largest Rectangle in Histogram" in this lesson.

Problem statement

We are given a list of n non-negative integers representing the histogram’s bar height where the ...

Level up your interview prep. Join Educative to access 70+ hands-on prep courses.