#sorting #algorithm #different

yanked fancy_sort

Implementations of different sorting algorithms in Rust!

2 releases

0.1.2 Jun 20, 2023
0.1.1 Jun 20, 2023
0.1.0 Jun 20, 2023

#275 in #different

MIT license

32KB
364 lines

Sorting

Implementations of different sorting algorithms in Rust!

Usage

fn main() {
    let sorted = sorting::sort(&[0.0, 2.0, 5.0, 1.0], SortType::Quick);
}

Implemented algorithms

  • Bubble sort
  • Insertion sort
  • Selection sort
  • Merge sort
  • Quicksort
  • Heapsort
  • Shell sort
  • Cocktail sort
  • Comb sort
  • Counting sort
  • Radix sort
  • Bogo sort
  • Stalin sort

Dependencies

~310KB