Add LibrarySort Implementation#7481
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #7481 +/- ##
============================================
+ Coverage 79.83% 79.86% +0.03%
- Complexity 7319 7337 +18
============================================
Files 805 808 +3
Lines 23785 23845 +60
Branches 4680 4694 +14
============================================
+ Hits 18989 19045 +56
- Misses 4036 4037 +1
- Partials 760 763 +3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
27b0040 to
1427328
Compare
There was a problem hiding this comment.
Pull request overview
Adds a new LibrarySort implementation under com.thealgorithms.sorts, along with a dedicated JUnit test class to validate basic behavior.
Changes:
- Introduces
LibrarySortsorting implementation and API (LibrarySort.sort(int[])). - Adds
LibrarySortTestwith basic correctness and input-validation tests (including null input).
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
src/main/java/com/thealgorithms/sorts/LibrarySort.java |
Adds the new sorting implementation and its Javadoc/API. |
src/test/java/com/thealgorithms/sorts/LibrarySortTest.java |
Adds unit tests covering common input shapes and null handling. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
1427328 to
0669834
Compare
0669834 to
f9ce5c0
Compare
|
Hi, just wanted to follow up on this PR — all the requested changes have been addressed and comments resolved. Could you take another look when you get a chance? Happy to make any further adjustments if needed. Thanks! |
clang-format -i --style=file path/to/your/file.java