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

Adding Combination Sum problem Leetcode - C++ #205

Open
imPradhyumn opened this issue Oct 7, 2023 · 0 comments · May be fixed by #209
Open

Adding Combination Sum problem Leetcode - C++ #205

imPradhyumn opened this issue Oct 7, 2023 · 0 comments · May be fixed by #209
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest hacktoberfest contributions

Comments

@imPradhyumn
Copy link

imPradhyumn commented Oct 7, 2023

Description

Given an array of distinct integers candidates and a target integer target, return a list of all unique combinations of candidates where the chosen numbers sum to target. You may return the combinations in any order.

DSA Problem

Leetcode : 39

Input: candidates = [2,3,6,7], target = 7
Output: [[2,2,3],[7]]
Explanation:
2 and 3 are candidates, and 2 + 2 + 3 = 7. Note that 2 can be used multiple times.
7 is a candidate, and 7 = 7.
These are the only two combinations.

@imPradhyumn imPradhyumn added enhancement New feature or request good first issue Good for newcomers hacktoberfest hacktoberfest contributions labels Oct 7, 2023
@imPradhyumn imPradhyumn linked a pull request Oct 7, 2023 that will close this issue
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.

1 participant