Skip to content

impl 3 ways quick sorting algorithm; #532

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

Merged
merged 2 commits into from
Oct 2, 2023

Conversation

suzp1984
Copy link
Contributor

@suzp1984 suzp1984 commented Oct 2, 2023

3 ways Quick Sorting algorithm

Description

https://www.geeksforgeeks.org/3-way-quicksort-dutch-national-flag/

The 3-way quick sort is to improve quick sorting with so many duplicate elements.

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 checked COUNTRIBUTING.md and my code follows its guidelines.

@suzp1984 suzp1984 force-pushed the task/quick-sort-3-way branch from 104e187 to 0237873 Compare October 2, 2023 15:10
Copy link
Member

@siriak siriak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@siriak siriak enabled auto-merge (squash) October 2, 2023 19:55
@siriak siriak merged commit 172c175 into TheAlgorithms:master Oct 2, 2023
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