| Crates.io | algo_sorting |
| lib.rs | algo_sorting |
| version | 0.0.2 |
| created_at | 2022-03-25 06:08:04.710258+00 |
| updated_at | 2022-03-25 06:15:24.734834+00 |
| 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]);