2 releases
0.0.2 | Mar 25, 2022 |
---|---|
0.0.1 | Mar 25, 2022 |
#1872 in Algorithms
3KB
A Rust library crate to sort any array using multiple algorithm methods available in DSA
Usage:
[dependencies]
algo_sorting = "0.0.1"
use algo_sorting;
let mut arr = vec![3, 1, 2, 4, 6, 5];
let sorted = algo_sorting::bubble(&mut arr);
assert!(sorted, vec![1, 2, 3, 4, 5, 6]);