Largest Rectangle in Histogram
CodingOnsiteSoftware EngineerReported Jun, 2026
Company question banks are included with the Insider plan.
Given an array of integers heights representing the heights of bars in a histogram where the width of each bar is 1, return *the area of the largest rectangle that can be formed inside the...