📢 Too many exams? Don’t know which one suits you best? Book Your Free Expert 👉 call Now!


    Question

    What is the defining property of a Binary Search Tree

    (BST)?
    A Each node has at most two children. Correct Answer Incorrect Answer
    B The left child of a node is always greater than its parent, and the right child is always smaller. Correct Answer Incorrect Answer
    C For any node, all values in its left subtree are less than the node's value, and all values in its right subtree are greater than the node's value. Correct Answer Incorrect Answer
    D The tree is always perfectly balanced, ensuring O(log N) operations. Correct Answer Incorrect Answer
    E It allows for O(1) search, insertion, and deletion in all cases. Correct Answer Incorrect Answer

    Solution

    This is the defining characteristic of a Binary Search Tree, which allows for efficient searching, insertion, and deletion.

    Practice Next
    ask-question