2 releases
0.1.2 | Jun 20, 2023 |
---|---|
0.1.1 | Jun 20, 2023 |
0.1.0 |
|
#275 in #different
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