algorithmica 0.1.9

Rust Algorithms
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// pub enum Color {
//     Black,
//     Red,
// }

// pub struct RBTree {
//     pub value: i32,
//     pub color: Color,
//     pub left: Box<RBTree>,
//     pub right: Box<RBTree>,
// }

// impl RBTree {
//     pub fn new() {}
//     pub fn left_rotate() {}
//     pub fn right_rotate() {}
//     pub fn change_color() {}
// }