Question: (a) Explain in (3/4 lines) why AVL tree is a better approach than Binary Search Tree? Explain your answer in terms of searching a
(a) Explain in (3/4 lines) why AVL tree is a better approach than Binary Search Tree? Explain your answer in terms of searching a number from the AVL tree? (Marks 4) (b) Write the formula of calculating balance of a node in the AVL tree? (Marks 3) (c) Explain in (2/3 lines) when insertions in Binary Search Tree become similar to Linked-List? (Marks 3)
Step by Step Solution
There are 3 Steps involved in it
A why AVL tree is better approach than BSTBinary Search Tree Adelson Velskii and LandisAVL trees a... View full answer
Get step-by-step solutions from verified subject matter experts
