269 views
Insert the given values in the order in initially empty $\text{AVL}$ tree.

$\text{34,21,10,27,24,43,15,6}$

What is the value at the root of the tree$?$
in DS
recategorized | 269 views

Answer will be 27. Here is the explanation.

by Boss
selected by
27...
by Active

.....

by Boss
0
24 is wrongly placed in the 3rd last diagram
tree -                             27

21                        34

10               24                         43

6          15

haha! this is virtual tree!
by Boss