Crates.io | librualg |
lib.rs | librualg |
version | 0.30.0 |
source | src |
created_at | 2020-10-19 18:05:07.691847 |
updated_at | 2021-06-06 11:20:26.714301 |
description | Collection of basic algorithms for everyday development |
homepage | |
repository | https://github.com/myduomilia/librualg |
max_upload_size | |
id | 303018 |
size | 142,392 |
extern crate librualg;
use librualg::*;
fn main(){
let seq = [1, 2, 3, 3, 4, 5];
assert_eq!(binary_search::upper_bound(&seq, &3), Some(3));
}