Angad Sandhu
Search
Browse

84_Largest_Rectangle_In_Histogram

Source name
84_Largest_Rectangle_In_Histogram.py
# File: Leetcode/Solutions/84_Largest_Rectangle_In_Histogram.py


"""
Problem Number: 84
Problem Name: Largest Rectangle In Histogram
Difficulty: Hard
Tags: Array, Stack, Monotonic Stack, Neetcode 150
Company (Frequency): Amazon, Google, Microsoft, Facebook
Leetcode Link: <https://leetcode.com/problems/largest-rectangle-in-histogram/description/>

DESCRIPTION

Given an array of integers `heights` representing the histogram's bar height where the width of each bar is 1, return the area of the largest rectangle in the histogram.
"""

Browse the library