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
410 downloads per month
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);
}
}