Consider a binary search tree (BST) with π leaf nodes (π> 0). Given any node π,
the key present in the node is denoted as πππ(π). All the keys present in the given
BST are distinct. The keys belong to the set of real numbers.
For a node π, let ππ’π(π) denote the node that is its inorder successor. If a node π
does not have an inorder successor, then ππ’π(π) is πππΏπΏ. As there are no
duplicates, if ππ’π(π) is not πππΏπΏ, then πππ(π) < πππ(ππ’π(π)).
Corresponding to every leaf node πΏπ that has a non-NULL ππ’π(πΏπ), a new key ππ
with the following property is to be inserted into the BST.
πππ(πΏπ) < ππ< πππ(ππ’π(πΏπ))
Let πΎ represent the list of all such new keys to be inserted into the BST.
Which of the following statements is/are true?

Step 1: Setup. An inorder traversal of a BST visits nodes in strictly increasing order of key value. So if we list all node values in the tree by inorder traversal, we get a strictly increasing sequence \(v_1 < v_2 < \dots < v_m\) where \(m\) is the total number of nodes. For any node \(V\) that is not the last node in this sequence, \(Suc(V)\) is exactly the next value in this sequence.
Step 2: Check option A (no duplicates in K). For each leaf \(L_i\) with a non-NULL successor, we insert a key \(k_i\) with \(Val(L_i) < k_i < Val(Suc(L_i))\). Because the inorder sequence is strictly increasing and \(Suc(L_i)\) is the node immediately after \(L_i\) in this sequence, the open interval \((Val(L_i), Val(Suc(L_i)))\) contains no existing key of the tree. For two different leaves \(L_i\) and \(L_j\), their intervals are built from disjoint consecutive pairs of the same increasing sequence, so the intervals never overlap. A value chosen from one interval can never equal a value chosen from another disjoint interval, so \(K\) can never contain duplicates. Option A is TRUE.
Step 3: Check option B (K has at least one element). Consider the smallest possible BST: a single node tree with \(n = 1\) leaf. That one node has no inorder successor, so \(Suc(L_1) = NULL\) and no key is generated. Here \(K\) is empty for this valid tree. Option B is FALSE (a valid counterexample exists).
Step 4: Check option C (height increases by at most one). Since \(L_i\) is a leaf, it has no right child. When \(k_i\) is inserted using the standard BST-insert procedure, the search path reaches \(L_i\) because \(k_i\) is strictly greater than \(Val(L_i)\) and strictly less than every key that would redirect the search elsewhere, being squeezed exactly between \(L_i\) and its successor. Since \(L_i\) has no right child, \(k_i\) is attached as the right child of \(L_i\). So every new key becomes a child of an existing leaf, placed exactly one level below its parent leaf, and no branch grows by more than one node. Therefore the height of the tree can go up by at most \(1\). Option C is TRUE.
Step 5: Check option D (number of nodes doubles). \(K\) is generated only for leaves whose successor is non-NULL, i.e. all leaves except possibly the leaf holding the overall maximum key. So \(|K| \le (\text{number of leaves})\), while the tree also contains internal nodes. Total nodes after insertion is strictly less than double the original count whenever an internal node exists, and for the single-node tree \(|K| = 0\) so it certainly does not double. Option D is FALSE.
Conclusion: The true statements are A and C.
\[ \boxed{\text{Correct options: A and C}} \]
A schedule of three database transactions \(T_1\), \(T_2\), and \(T_3\) is shown. \(R_i(A)\) and \(W_i(A)\) denote read and write of data item A by transaction \(T_i\), \(i = 1, 2, 3\). The transaction \(T_1\) aborts at the end. Which other transaction(s) will be required to be rolled back?

Let π be an odd number greater than 100. Consider a binary minheap with
π elements stored in an array π whose index starts from 1.
Which of the following indices of π do/does NOT correspond to any leaf node of
the minheap?
The height of a binary tree is the number of edges in the longest path from the root
to a leaf in the tree. The maximum possible height of a full binary tree with
23 nodes is _________. (answer in integer)

Let π be the set of all integers from 1 to 15. Consider any order of insertion of the
elements of π into a binary search tree that creates a complete binary tree.
Which one of the following elements can NEVER be the third element that is
inserted?

The set T represents various traversals over binary tree. The set S represents the
order of visiting nodes during a traversal.
T
S
I: Inorder
L: left subtree, node, right subtree
II: Preorder
M: node, left subtree, right subtree
III: Postorder N: left subtree, right subtree, node
Which one of the following is the correct match from T to S ?

The following sequence corresponds to the preorder traversal of a binary search
tree π:
50, 25, 13, 40, 30, 47, 75, 60, 70, 80, 77
The position of the element 60 in the postorder traversal of π is ______. (answer in
integer)
Note: The position begins with 1.
