Collection of basic algorithms for everyday development

Build Status Rust crates.io

LIst of algorithms:


Search algorithms:

Segment Tree:

String Algorithms:


Example

```rust extern crate librualg; use librualg::*;

fn main(){ let seq = [1, 2, 3, 3, 4, 5]; asserteq!(binarysearch::upper_bound(&seq, &3), Some(3)); } ```