Skip to content

feat: Add KCenters new algorithm with Junit tests #5806

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

Merged
merged 7 commits into from
Oct 26, 2024

Conversation

Hardvan
Copy link
Contributor

@Hardvan Hardvan commented Oct 14, 2024

  • 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 14, 2024

Codecov Report

Attention: Patch coverage is 94.73684% with 1 line in your changes missing coverage. Please review.

Project coverage is 69.44%. Comparing base (e0ab1d3) to head (96026a3).

Files with missing lines Patch % Lines
...a/com/thealgorithms/greedyalgorithms/KCenters.java 94.73% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #5806      +/-   ##
============================================
+ Coverage     69.43%   69.44%   +0.01%     
- Complexity     4688     4695       +7     
============================================
  Files           625      626       +1     
  Lines         17155    17174      +19     
  Branches       3307     3313       +6     
============================================
+ Hits          11911    11927      +16     
- Misses         4789     4790       +1     
- Partials        455      457       +2     

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

@Hardvan Hardvan marked this pull request as ready for review October 14, 2024 10:22
siriak
siriak previously approved these changes Oct 25, 2024
@siriak siriak enabled auto-merge (squash) October 25, 2024 20:33
@siriak siriak merged commit c40eb8d into TheAlgorithms:master Oct 26, 2024
6 checks passed
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