0
9.3kviews
Construct an AVL Tree with following data: 10 15 9 12 13 79 45 36 22

Construct an AVL Tree with following data: 10 15 9 12 13 79 45 36 22

1 Answer
1
2.3kviews

AVL Tree

  • AVL Trees are Self-Balanced Binary Search Trees.

  • In AVL trees, the balancing factor of each node is either 0 or 1 or -1.

  • Balance Factor of AVL Tree calculated as = Height of Left Sub-tree - Height of Right Sub-tree


Construction of AVL Trees -

  • Insertion Operation is …

Create a free account to keep reading this post.

and 2 others joined a min ago.

Please log in to add an answer.