...

/

DIY: Largest Rectangle in Histogram

DIY: Largest Rectangle in Histogram

Problem statement

We are given a list of n non-negative integers representing the histogram’s bar height where the width of each bar is 1. You have to find the area of the largest rectangle in ...

Access this course and 1200+ top-rated courses and projects.

Create a free account to view this lesson.

By signing up, you agree to Educative's Terms of Service and Privacy Policy