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

#741 in Data structures

Download history 7/week @ 2024-10-02 1/week @ 2024-10-09 4/week @ 2024-12-04 4/week @ 2024-12-11 402/week @ 2024-12-18

358 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