hamburger menu
All Coursesall course arrow
adda247
reward-icon
adda247
    arrow
    arrow
    arrow
    Which of the following options is not true about the binary search tree (BST)?
    Question



    Which of the following options is not true about the binary search tree (BST)?

    A.

    The value of the left child should be less than the root node.

    B.

    The value of the right child should be greater than the root node.

    C.

    The left and right subtrees should also be a binary search tree.

    D.

    More than one of the above

    E.

    None of the above

    Correct option is E


    A Binary Search Tree (BST) follows three key properties:
    1. The left child must have a value smaller than the root node. ✅ (Correct statement)
    2. The right child must have a value greater than the root node. ✅ (Correct statement)
    3. Both left and right subtrees must also be BSTs (recursive property). ✅ (Correct statement)
    Since all statements (a), (b) and (c) are true, there is no incorrect statement in the given options. Thus, option (e) is correct (none of the above are false).
    Important Key Points:
    1. BST Definition & Structure:
    · The left subtree contains only values less than the node.
    · The right subtree contains only values greater than the node.
    · Both left and right subtrees must also be BSTs.
    Example of a BST:
    20
    / \
    10 30
    / \ \
    5 15 40
    Knowledge Booster:
    · BST operations (search, insert, delete) have O(log N) time complexity in a balanced BST.
    · Self-balancing BSTs (AVL Tree, Red-Black Tree) ensure efficient performance by maintaining height balance.
    · BSTs are widely used in searching algorithms, range queries and databases (e.g., B-Trees in indexing).

    Free Tests

    Free
    Must Attempt

    UPTET Paper 2 Social Science : PYP Held on 23rd Jan 2022 (Shift 2)

    languageIcon English
    • pdpQsnIcon150 Questions
    • pdpsheetsIcon150 Marks
    • timerIcon150 Mins
    languageIcon English
    Free
    Must Attempt

    UPTET : Paper 1 Full Mock - 01

    languageIcon English
    • pdpQsnIcon150 Questions
    • pdpsheetsIcon150 Marks
    • timerIcon150 Mins
    languageIcon English
    Free
    Must Attempt

    UPTET : Paper 2 Maths & Science Full Mock - 01

    languageIcon English
    • pdpQsnIcon150 Questions
    • pdpsheetsIcon150 Marks
    • timerIcon150 Mins
    languageIcon English
    test-prime-package

    Access ‘BPSC TRE (11-12)’ Mock Tests with

    • 60000+ Mocks and Previous Year Papers
    • Unlimited Re-Attempts
    • Personalised Report Card
    • 500% Refund on Final Selection
    • Largest Community
    students-icon
    383k+ students have already unlocked exclusive benefits with Test Prime!
    Our Plans
    Monthsup-arrow