search-sort
Implementation of few searching and sorting algorithms. This crate is currently WIP, and supports only few of them.
Searching algorithms to be implemented:
- linear search
- binary search
- jump search
- interpolation search
- exponential search
Sorting algorithms to be implemented:
- bubble sort
- quick sort
- parallel quick sort
- insertion sort
- merge sort
- heap sort
- radix sort
Quick example
Add this to your Cargo.toml
file:
[]
= "0.1"
This code sorts the slice
and searches for elements in it:
use ;
let mut slice = ;
quick;
assert_eq!;
assert_eq!;
assert_eq!;
License
This code is released under the MIT license. See the LICENSE.md file.