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

Add Leetcode 546. Remove Boxes in C++ #141

Open
Abhi01goenka opened this issue Oct 4, 2023 · 1 comment · May be fixed by #157
Open

Add Leetcode 546. Remove Boxes in C++ #141

Abhi01goenka opened this issue Oct 4, 2023 · 1 comment · May be fixed by #157
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest hacktoberfest contributions

Comments

@Abhi01goenka
Copy link

Description

Contribute Remove Boxes Problem

Why This Problem?

This problem falls under Leetcode Hard category involving the concept of Partition Dynamic Programming.

Contribution Guidelines

To contribute this DSA problem, I am willing to:

  • Provide well-formatted description of the problem
  • Give Examples and constraints
  • Provide a sample solution in C++
  • Use descriptive variable names and detailed comments.

DSA Problem

Problem Details

Problem Name: Remove Boxes

Problem Description:

You are given several boxes with different colors represented by different positive numbers. You may experience several rounds to remove boxes until there is no box left. Each time you can choose some continuous boxes with the same color (i.e., composed of k boxes, k >= 1), remove them and get k * k points. Return the maximum points you can get.

Constraints:

  • 1 <= boxes.length <= 100
  • 1 <= boxes[i] <= 100

Screenshots

image
image

@Abhi01goenka Abhi01goenka added enhancement New feature or request good first issue Good for newcomers hacktoberfest hacktoberfest contributions labels Oct 4, 2023
@iamdestinychild
Copy link
Owner

make sure you give the project a star and read the contribution.md to know how to contribute

@Abhi01goenka Abhi01goenka linked a pull request Oct 5, 2023 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest hacktoberfest contributions
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants