8 releases

0.1.7 Dec 18, 2024
0.1.6 Dec 18, 2024
0.1.3 Sep 16, 2024
0.1.0 Nov 27, 2023

#743 in Data structures

Download history 217/week @ 2024-09-13 42/week @ 2024-09-20 15/week @ 2024-09-27 3/week @ 2024-10-04 8/week @ 2024-12-06 341/week @ 2024-12-13 61/week @ 2024-12-20

410 downloads per month

MIT/Apache

15KB
325 lines

Simple implementation of a binary tree.

Example

fn main() {
    let mut a = BinaryTree::new(1);
    a.insert(2);
    a.vec_insert([1,2,3]);
    a.delete(1);
    for i in a.into_iter() {
        println!("{}", *i);
    }
}

No runtime deps