Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
theoopsguy opened this issue Oct 12, 2021 · 1 comment
Assignees

Comments

@theoopsguy
Copy link
Contributor

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

@VaibhavPaliwal0007
Copy link
Member

Okay assigned!! Do explain the approach in a seperate file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants