πŸ“’ Too many exams? Don’t know which one suits you best? Book Your Free Expert πŸ‘‰ call Now!

  • google app store apple app store
  • βœ–

      Question

      A binary search tree (BST) property states that for any

      given node:
      A All nodes in its left subtree are greater than the node's value. Correct Answer Incorrect Answer
      B All nodes in its right subtree are less than the node's value. Correct Answer Incorrect Answer
      C All nodes in its left subtree are less than or equal to the node's value, and all nodes in its right subtree are greater than or equal to the node's value. Correct Answer Incorrect Answer
      D The left subtree always has more nodes than the right subtree. Correct Answer Incorrect Answer
      E The tree must be perfectly balanced. Correct Answer Incorrect Answer

      Solution

      All nodes in its left subtree are less than or equal to the node's value, and all nodes in its right subtree are greater than or equal to the node's value.

      Practice Next
      ask-question