what is AVL tree?

Answer Posted / pilli.ramakrishna (student of

An AVL tree is a self-balancing binary search tree, and 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. Lookup, insertion, and deletion all
take O(log n) time in both the average and worst cases,
where n is the number of nodes in the tree prior to the
operation. Insertions and deletions may require the tree to
be rebalanced by one or more tree rotations.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Compare Queue and Topic ?

656


What method removes the value from the top of a stack?

542


Which language is best for learning data structures and algorithms?

487


In depth questions regarding the data structures and the Databases used in the Projects developed.

541


What are the different types of collections?

490






Explain what is the bucket size, when the overlapping and collision occur at same time?

569


What do you mean by linear probing?

583


What is the difference between binary tree and binary search tree?

493


You are given a singly linked list. How would you find out if it contains a loop or not without using temporary space?

683


Which is faster binary or linear search?

479


How do you declare A pointer to array of three chars

525


What is a threaded binary tree? Explain its operation with example?

664


Write a Program for Reverse a linked list.

542


What are the different types of sorting in data structure?

506


What is a hash index?

470