Create a program to find the largest rectangle area in a histogram represented as an array.
HardProblem Statement
Create a program to find the largest rectangle area in a histogram represented as an array.
Sample Input
Heights: 2, 1, 5, 6, 2, 3
Sample Output
Largest Rectangle Area: 10
Limits
Time: 2s · Memory: 256 MB