Hacktober-Fest-2021
Hacktober-Fest-2021 copied to clipboard
Next Greater Element-II and Largest Rectangle in Histogram Leetcode problems on Stack Data Structure
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/
https://leetcode.com/problems/largest-rectangle-in-histogram/