Consider the following tree with nodes, in which a node can store at most key values The value is now inserted in the tree. Which of the following options(s) is/are CORRECT?

View worked solution
Answer: B;D
A tree with nodes and a maximum capacity of keys per node must have a -level structure consisting of:
- Root node containing keys (fully occupied).
- Leaf nodes containing the data keys.
When the value is inserted into its corresponding leaf node:
- The target leaf node is already full (containing keys), causing it to split into two nodes.
- This split requires pushing/copying a key up to the parent (the root node).
- Since the root node is also completely full with keys, it overflows and must also split.
- Splitting the root node creates a new root, which increases the height of the tree by .
Thus, at least one node splits (Option B) and the height of the tree increases (Option D).
Free practice · Your answers on this page are not saved.
