Question: Binary Search Tree HW Part 1. [2 pts] Show the BST after inserting nodes with key values 5, 1, 10, 4, 16, 17, 21 in
Binary Search Tree HW
Part 1. [2 pts] Show the BST after inserting nodes with key values 5, 1, 10, 4, 16, 17, 21 in this order.
Part 2. [3 pts] What is the minimum possible height of a BST with the set of data provided in question #1? In what order then the data should be provided in question #1 such that after insertion you obtain a BST with minimum possible height.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
