Skip to content

feat: Two new algos 👍 TowerofHanoi.java and GenerateUniqueSubset.java added #5546

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

Closed
wants to merge 26 commits into from

Conversation

Tuhinm2002
Copy link
Contributor

  • I have read CONTRIBUTING.md.
  • This pull request is all my own work -- I have not plagiarized it.
  • All filenames are in PascalCase.
  • All functions and variable names follow Java naming conventions.
  • All new algorithms have a URL in their comments that points to Wikipedia or other similar explanations.
  • All new code is formatted with clang-format -i --style=file path/to/your/file.java

@codecov-commenter
Copy link

codecov-commenter commented Oct 3, 2024

Codecov Report

Attention: Patch coverage is 85.18519% with 4 lines in your changes missing coverage. Please review.

Project coverage is 54.03%. Comparing base (87871ef) to head (52715aa).

Files with missing lines Patch % Lines
...thealgorithms/Recursion/GenerateUniqueSubsets.java 86.66% 2 Missing ⚠️
...java/com/thealgorithms/Recursion/TowerOfHanoi.java 83.33% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #5546      +/-   ##
============================================
+ Coverage     53.96%   54.03%   +0.06%     
- Complexity     3387     3394       +7     
============================================
  Files           535      537       +2     
  Lines         15429    15456      +27     
  Branches       2942     2942              
============================================
+ Hits           8327     8352      +25     
- Misses         6749     6752       +3     
+ Partials        353      352       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Tuhinm2002
Copy link
Contributor Author

Tuhinm2002 commented Oct 3, 2024

@siriak I have added few more important questions in the package. Few things I left because it was already covered either in backtracking or dynamic programming, so skipped them. The rest you can review it

@Tuhinm2002
Copy link
Contributor Author

@alxkm Check I have added few missing popular algorithms of recursion.

@Tuhinm2002 Tuhinm2002 closed this Oct 4, 2024
@Tuhinm2002 Tuhinm2002 reopened this Oct 4, 2024
@Tuhinm2002 Tuhinm2002 changed the title feat: more recursion problems added feat: Two new algos 👍 TowerofHanoi.java and GenerateUniqueSubset.java added Oct 4, 2024
@Tuhinm2002
Copy link
Contributor Author

@vil02 can you review the PR please

@Tuhinm2002 Tuhinm2002 closed this Oct 5, 2024
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.

3 participants