Skip to content

Conversation

@Harshit-0413
Copy link
Contributor

This PR improves the QuickSort implementation by adding detailed JavaDoc and
inline comments explaining pivot selection, partitioning logic, recursive
steps, and time/space complexity.

Fixes #7143

@codecov-commenter
Copy link

codecov-commenter commented Dec 21, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.90%. Comparing base (bb33488) to head (dd287b0).

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #7182   +/-   ##
=========================================
  Coverage     78.90%   78.90%           
+ Complexity     6864     6863    -1     
=========================================
  Files           772      772           
  Lines         22697    22697           
  Branches       4459     4459           
=========================================
+ Hits          17908    17909    +1     
+ Misses         4073     4072    -1     
  Partials        716      716           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@DenizAltunkapan
Copy link
Member

@Harshit-0413 please format your code

@Harshit-0413
Copy link
Contributor Author

Thanks for the review! I’ve formatted the code and fixed the JavaDoc layout.

@DenizAltunkapan DenizAltunkapan merged commit 1eb0d61 into TheAlgorithms:master Dec 21, 2025
7 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.

[DOCUMENTATION] Add detailed comments and explanation for QuickSort algorithm

3 participants