Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

Balanced Insert Example

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 0.83 sec, absolute running time: 0.12 sec, cpu time: 0.03 sec, memory peak: 3 Mb, absolute service time: 0,96 sec   
latest |  history
*** Tree Example Program for ECE 2574 ***

* + a b - c d 
Height of tree is 3
Inserted value a and new height = 4
Inserted value b and new height = 4
Inserted value c and new height = 4
Inserted value d and new height = 4
Inserted value e and new height = 5
Inserted value f and new height = 5
Inserted value g and new height = 5
Inserted value h and new height = 5
Inserted value i and new height = 5
Inserted value j and new height = 5
Inserted value k and new height = 5
Inserted value l and new height = 5
Inserted value m and new height = 6
Inserted value n and new height = 6
Inserted value o and new height = 6
Inserted value p and new height = 6
Inserted value q and new height = 6
Inserted value r and new height = 6
Inserted value s and new height = 6
Inserted value t and new height = 6
Inserted value u and new height = 6
Inserted value v and new height = 6
Inserted value w and new height = 6
Inserted value x and new height = 6
Inserted value y and new height = 6
* + a a e m y l x d k w v b c j u t i s - c b h r q g p d f o n 
Height of tree is 6

    
                
λ
.NET NoSQL database for rapid development