1 1 vote Consider a Binary Search Tree (BST) in which all keys are distinct. For a node $v_i$, let $\text{succ}(v_i)$ denote its in-order successor. If $v_i$ has no in-order successor, then $\text{succ}(v_i) = \text{NULL}$.Define a set $K$ as follows:For every leaf node $v_i$ such that $\text{succ}(v_i) \ne \text{NULL}$, choose a key $k_i$ satisfying\[\text{val}(v_i) < k_i < \text{val}(\text{succ}(v_i))\]and include $k_i$ in $K$. $($Assume such a key can be chosen whenever $\text{succ}(v_i) \ne \text{NULL})$.Now, insert all keys of $K$ into the given BST (in any order), maintaining the BST property.Which of the following statements is/are necessarily true?$K$ contains no duplicate keys. After inserting all keys from $K$, the height of the BST increases by at most $1$. After inserting all keys from $K$, the number of nodes in the BST becomes exactly double. The set $K$ is non-empty (contains at least one key). Data Structures goclasses gate2026_cs_set2_memorybased data-structures multiple-selects two-marks + – GO Classes 498 views answer comment Share Follow Print See 1 comment 1 1 comment reply GO Classes commented Feb 18 reply Follow flag Watch Detailed Video Solution Here! 0 0 replyShare Please log in or register to add a comment.