Question 88Asked in BPSC TRE 3.0 (2024) Computer Science Class 11-12

In a binary search tree, which subtree of a node contains elements that are greater than the node’s value?

  1. ALeft subtree
  2. BRight subtree
  3. CBoth subtrees
  4. DMore than one of the above
  5. ENone of the above
Show answerHide answer

Correct answer: (B) Right subtree

Explanation

In a BST, keys smaller than a node go in its left subtree and larger keys in its right subtree.

From BPSC TRE 3.0 (2024) Computer Science Class 11-12 — Previous Year Paper

This is question 88 of BPSC TRE 3.0 (2024) Computer Science Class 11-12 — Previous Year Paper. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.