Problem: Largest Rectangle in Histogram
Difficulty Level: Hard
Algorithm: use of stack. find smallest element in left, find next smallest element in right
Programming Language: golang & java
Download
0 formats
No download links available.
LeetCode: 84. Largest Rectangle in Histogram | NatokHD