0
2.6kviews
Short note on AVL Tree
2 Answers
1
57views
  1. Searching in a binary search tree is efficient if the heights of both left and right sub-trees of any node are equal.However, frequent insertions and deletions in a BST are likely to make it unbalanced.

  2. The efficiency of searching is ideal if the difference between left and right sub-trees of …

Create a free account to keep reading this post.

and 3 others joined a min ago.

1
18views

AVL Tree

An AVL tree (Adelson-Velskii and Landis; tree, named after the inventors) is a self-balancing binary search tree. It was the first such data structure to be invented. In an AVL tree, the heights of the two-child subtrees of any node differ by at most one; if at any …

Create a free account to keep reading this post.

and 5 others joined a min ago.

Please log in to add an answer.