Question: If an item is to be inserted whose key value is less than the key value in node 1, but greater than the key value
If an item is to be inserted whose key value is less than the key value in node 1, but greater than the key value in node 5, where would it be inserted?
The numbers on the nodes are labels so that we can talk about the nodes; they are not key values within the nodes.

4 2 5 1 9 3 8
Step by Step Solution
3.47 Rating (160 Votes )
There are 3 Steps involved in it
Youve provided an image depicting a tree structure with nodes labeled 1 through 8 Although key values are not given we are to infer the relationships between nodes based on the hierarchy of the tree If an item with a key value ... View full answer
Get step-by-step solutions from verified subject matter experts
