Skip to content

Added tournament sort algorithm#1046

Open
remememe wants to merge 1 commit into
TheAlgorithms:masterfrom
remememe:master
Open

Added tournament sort algorithm#1046
remememe wants to merge 1 commit into
TheAlgorithms:masterfrom
remememe:master

Conversation

@remememe

Copy link
Copy Markdown

Description

Implements tournament sort algorithm.
https://en.wikipedia.org/wiki/Tournament_sort

Type of change

  • New feature (non-breaking change which adds functionality)

Checklist:

  • I ran bellow commands using the latest version of rust nightly.
  • I ran cargo clippy --all -- -D warnings just before my last commit and fixed any issue that was found.
  • I ran cargo fmt just before my last commit.
  • I ran cargo test just before my last commit and all tests passed.
  • I added my algorithm to the corresponding mod.rs file within its own folder, and in any parent folder(s).
  • I added my algorithm to DIRECTORY.md with the correct link.
  • I checked COUNTRIBUTING.md and my code follows its guidelines.

@remememe remememe requested a review from imp2002 as a code owner June 12, 2026 22:51
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.83%. Comparing base (7789289) to head (5869655).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1046   +/-   ##
=======================================
  Coverage   95.82%   95.83%           
=======================================
  Files         393      394    +1     
  Lines       29971    30035   +64     
=======================================
+ Hits        28721    28785   +64     
  Misses       1250     1250           

☔ View full report in Codecov by Harness.
📢 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.

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.

2 participants