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

To add "Maximum Rectangle in histogram" problem #104

Open
Amit-yadav099 opened this issue Oct 15, 2024 · 0 comments
Open

To add "Maximum Rectangle in histogram" problem #104

Amit-yadav099 opened this issue Oct 15, 2024 · 0 comments
Assignees
Labels
good first issue Good for newcomers hacktoberfest-accepted Hacktoberfest

Comments

@Amit-yadav099
Copy link
Contributor

hello @Pradeepsingh61
I want to constribute in your c++ code collection by adding the problem "maimum rectangke in histrogram"
as a newbie in contribution , kindly assign it task to me under hacktoberfest2024 .

problem statement:-
Given an array of integers heights representing the histogram's bar height where the width of each bar is 1, return the area of the largest rectangle in the histogram.
image
Input: heights = [2,1,5,6,2,3]
Output: 10
Explanation: The above is a histogram where width of each bar is 1.
The largest rectangle is shown in the red area, which has an area = 10 units.

@Amit-yadav099 Amit-yadav099 changed the title To add "Maximum Rectangle in hIstogram" problem To add "Maximum Rectangle in histogram" problem Oct 15, 2024
@Pradeepsingh61 Pradeepsingh61 added good first issue Good for newcomers hacktoberfest-accepted Hacktoberfest labels Oct 16, 2024
Pradeepsingh61 added a commit that referenced this issue Oct 17, 2024
added solution of <largest rectangle in histogram>#104
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers hacktoberfest-accepted Hacktoberfest
Projects
None yet
Development

No branches or pull requests

2 participants