• retagged by
1,665 views
1 1 vote

How to solve question of the following type without creating a tree for each given option.

 

Which of the following order of elements are inserted into an empty AVL tree so that it is possible to get the above AVL tree.

A. 94,71,86,25,98,83,27,90

B 98,94,90,83,86,25,71,27

C. 86,25,98,83,27,90,71,94

D. None of these

2 Answers

Answer:
Position:
Show:

Related questions

1 1 vote
3 3 answers
1.4k
1.4k views
Parshu gate asked Nov 28, 2017
1,445 views
Consider the following AVL treeAfter the deletion of node 50 , what is @ the root?100110120150
10 10 votes
1 1 answer
555
555 views
6 6 votes
1 1 answer
300
300 views
7 7 votes
1 1 answer
229
229 views
GO Classes asked Jul 24
229 views
Insertion of a new element into an AVL tree may violate the AVL balance condition. Usually, we perform a rotation at the first node on the path from the inserted element ...