Similar questions 4 more →
Binary Search & Balanced Trees

Your answer
Answer & solution
Answer: B: 7 and 4 (no official key was published)
Step through it (14 steps)
The first key 50 remains the root in ordinary unbalanced BST insertion. Every later key below 50 belongs somewhere in its left subtree: 15,5,20,3,8,37,24, totaling seven. Every key above 50 belongs in its right subtree: 62,58,91,60, totaling four. Internal insertion paths affect shape but not which side of the root contains each key. The root itself is excluded from both counts, and 7+4+1=12 checks the total number of inserted keys.