Back to QuestionsPractice with This Question
Largest Rectangle in Histogram
35.1K views•Asked at Uber•
Hard
Question Explain
Given an array of integers representing the histogram's bar heights, find the area of the largest rectangle in the histogram. Use a Monotonic Stack.
Start Trying This Question Simulation
Practice answering orally or with text to get instant AI feedback.