The Gateway to Computer Science Excellence
+2 votes
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 by Active
recategorized by | 269 views

4 Answers

+5 votes
Best answer

Answer will be 27. Here is the explanation.

by Boss
selected by
+2 votes
27...
by Active
0 votes

.....

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

                       21                        34

            10               24                         43

      6          15

 

haha! this is virtual tree!
by Boss

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
52,215 questions
59,992 answers
201,191 comments
94,656 users