Hacktober-Fest-2021 icon indicating copy to clipboard operation
Hacktober-Fest-2021 copied to clipboard

Next Greater Element-II and Largest Rectangle in Histogram Leetcode problems on Stack Data Structure

Open theoopsguy opened this issue 3 years ago • 1 comments

I can add code for Next Greater Element - II and Largest Rectangle in Histogram Leetcode problems based on Stack Data Structure in C++. The questions belong to Medium and Hard difficulty level on Leetcode respectively and provide a good understanding of stacks.

https://leetcode.com/problems/next-greater-element-ii/ image

https://leetcode.com/problems/largest-rectangle-in-histogram/ image

theoopsguy avatar Oct 12 '21 17:10 theoopsguy