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

Q39, Combination Sum using Java #31

Merged

Conversation

raginiisingh
Copy link
Contributor

Description

  • Language Used: Java
  • Approach Used: Recursion
  • Question(s) Solved: Q39, Combination Sum
  • Issue(s) Closes:

This code returns a list of all possible combinations of a given array which sum up to the target sum provided by the user.
The above solution uses the concept of recursion by considering cases of picking or not picking an element in array to finally add up to the desired target sum.

Related Issue

None

Acceptance Criteria

Q39_CombinationSum #23

Type of Changes

Type
🐛 Bug fix
✨ New feature
🔨 Refactoring
💯 Add tests
🔗 Update dependencies
📜 Docs

Testing Steps / QA Criteria

image

@DugarRishab
Copy link
Owner

@raginiisingh, this is the 2nd time you are giving an improper PR. Please recheck your PR's title.

@raginiisingh raginiisingh changed the title Added the solution in Java Q39, Combination Sum using Java Oct 3, 2022
@raginiisingh
Copy link
Contributor Author

I have renamed it, can you please look into it now

@DugarRishab DugarRishab merged commit db72e99 into DugarRishab:main Oct 3, 2022
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

Successfully merging this pull request may close these issues.

2 participants