Question: Q2. Write a program in generic program in java to implement the AVL Tree (5-marks) 1. Insert: L, M, P, Q, H, O (1- Marks)

Q2. Write a program in generic program in java to implement the AVL Tree (5-marks) 1. Insert: L, M, P, Q, H, O (1- Marks) 2. Delete : MO (1-Mark) 3. Check H is the leaf node (2-Marks) 4. Find the size of the AVL tree. (1-Marks)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
