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.91% 79.93% +0.02%
- Complexity 7353 7364 +11
============================================
Files 811 812 +1
Lines 23879 23907 +28
Branches 4705 4712 +7
============================================
+ Hits 19082 19110 +28
Misses 4036 4036
Partials 761 761 ☔ 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