Question: 5. (a) Draw a BST with 5 nodes whose height is 2 (b) Draw a BST with 5 nodes whose height is 3. 6. What

5. (a) Draw a BST with 5 nodes whose height is 2 (b) Draw a BST with 5 nodes whose height is 3. 6. What is the maximum height of a BST with n nodes? 7. What is the minimum height of a BST with n nodes? (You will need to use a floor or ceiling to derive an exact answer.) 8. (a) Are all balanced AVL trees also BSTs? (b) Are all BSTs also balanced AVL trees
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
