#binary-tree #tree #binary #tree-structure #binary-tree-view

simple-binary-tree

A simple binary tree view representation

1 unstable release

0.1.0 Jun 21, 2024

#2009 in Data structures

Download history 20/week @ 2024-06-23 5/week @ 2024-08-25 4/week @ 2024-09-01 21/week @ 2024-09-15 15/week @ 2024-09-22 31/week @ 2024-09-29 4/week @ 2024-10-06

71 downloads per month
Used in binary-tree-view

MIT license

6KB
90 lines

Binary Tree Crate

A simple binary tree implementation in Rust using smart pointers (Rc and RefCell). This crate provides basic functionalities to build, insert, and print elements of a binary tree.

Features

  • Insert elements into the binary tree.
  • Print the binary tree structure with indentation.

Getting Started

Prerequisites

  • Rust and Cargo installed on your system. You can get it from rustup.rs.

Installation

To use this crate, add it to your Cargo.toml:

[dependencies]
simple_binary_tree = "0.1.0"

No runtime deps

Features