Crates.io | algo_sorting |
lib.rs | algo_sorting |
version | 0.0.2 |
source | src |
created_at | 2022-03-25 06:08:04.710258 |
updated_at | 2022-03-25 06:15:24.734834 |
description | This is a crate to implement all kind of sorting in the world of algorithms and more sorting methods will be implemented soon... |
homepage | |
repository | |
max_upload_size | |
id | 556076 |
size | 2,410 |
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]);