Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Feat/add binary tree sort #6666

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

Open
PauLopNun wants to merge 3 commits into TheAlgorithms:master
base: master
Choose a base branch
Loading
from PauLopNun:feat/add-binary-tree-sort

Conversation

Copy link
Contributor

@PauLopNun PauLopNun commented Oct 6, 2025

  • 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

- Implements Binary Tree Sort using BST with inorder traversal
- O(n log n) average case, O(n2) worst case time complexity
- Includes comprehensive test suite extending SortingAlgorithmTest
Copy link

codecov-commenter commented Oct 6, 2025
edited
Loading

Codecov Report

❌ Patch coverage is 96.29630% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 75.77%. Comparing base (9484c7e) to head (c3a46ec).

Files with missing lines Patch % Lines
...n/java/com/thealgorithms/sorts/BinaryTreeSort.java 96.29% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@ Coverage Diff @@
## master #6666 +/- ##
============================================
+ Coverage 75.75% 75.77% +0.02% 
- Complexity 5772 5781 +9 
============================================
 Files 703 704 +1 
 Lines 19777 19804 +27 
 Branches 3832 3835 +3 
============================================
+ Hits 14982 15007 +25 
 Misses 4215 4215 
- Partials 580 582 +2 

☔ 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.

- Fix checkstyle violations on lines 30, 38, 42
- Remove trailing whitespace for compliance
- No functional changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@DenizAltunkapan DenizAltunkapan Awaiting requested review from DenizAltunkapan DenizAltunkapan is a code owner

@yanglbme yanglbme Awaiting requested review from yanglbme yanglbme is a code owner

@alxkm alxkm Awaiting requested review from alxkm alxkm is a code owner

At least 1 approving review is required to merge this pull request.

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /