#binary #counting #count #tree

binary-tree

Collection of Binary Tree data structures and algorithms

3 releases (breaking)

Uses old Rust 2015

0.2.0 May 22, 2016
0.1.0 May 6, 2016
0.0.1 Apr 17, 2016

#2208 in Algorithms

Download history 11/week @ 2023-10-28 12/week @ 2023-11-04 7/week @ 2023-11-11 10/week @ 2023-11-18 25/week @ 2023-11-25 14/week @ 2023-12-02 12/week @ 2023-12-09 9/week @ 2023-12-16 18/week @ 2023-12-23 3/week @ 2023-12-30 5/week @ 2024-01-06 10/week @ 2024-01-13 9/week @ 2024-01-20 15/week @ 2024-01-27 4/week @ 2024-02-03 21/week @ 2024-02-10

53 downloads per month
Used in lz_diet

MIT/Apache

52KB
1.5K SLoC

binary-tree

Crates.io

A Rust library providing a collection of generic Binary Tree algorithms.

Documentation

License

MIT/Apache-2.0 dual licensed


lib.rs:

Provides a collection of binary tree based data structures and algorithms.

Terminology

  • The root of a tree is considered to be at the top.
  • Height of a node is the length of the longest path to its leaves. Thus all leaf nodes have zero height.

Dependencies

~0–0.8MB
~14K SLoC