We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Data Structures
- Stacks
- Largest Rectangle
- Discussions
Largest Rectangle
Largest Rectangle
Sort by
recency
|
599 Discussions
|
Please Login in order to post a comment
Java 8
` public static int largestRectangle(List h) { int start = 0; int index = 0; int maxArea = 0; Stack stack = new Stack<>();
} `
Javascript
JavaScript solution: