4 releases

0.2.2 Dec 22, 2020
0.2.1 Dec 6, 2020
0.2.0 Dec 6, 2020
0.1.1 Dec 2, 2020
0.1.0 Dec 2, 2020

#2434 in Data structures

Download history 9/week @ 2024-01-08 13/week @ 2024-01-29 62/week @ 2024-02-19 18/week @ 2024-02-26 15/week @ 2024-03-04

95 downloads per month

MIT license

52KB
708 lines

binary_search_tree

Description

A classic Binary Search Tree written in Rust.

In this implementation, each node of the binary tree contains only one valuable value. To order the nodes, the elements must implement the Ord trait.

Usage

As a library

extern crate binary_search_tree;

use binary_search_tree::BinarySearchTree;

Features & capabilities

The BinarySearchTree struct provides the following methods:

If you have any comments or suggestions, or you suddenly found an error, please write to prototyperailgun@gmail.com.

No runtime deps