The following formula is of left_subtree (keys) ≤ node (key) ≤ right_subtree…

2024

The following formula is of

left_subtree (keys) ≤ node (key) ≤ right_subtree (keys)

  1. A.

    Binary Tree

  2. B.

    Complete Binary Tree

  3. C.

    Binary Search Tree

  4. D.

    All of the above

Attempted by 286 students.

Show answer & explanation

Correct answer: C

Answer : C

Explanation

A binary search tree (BST) is a tree in which all nodes follows the below mentioned properties −

The left sub-tree of a node has key less than or equal to its parent node's key.

The right sub-tree of a node has key greater than or equal to its parent node's key.

Explore the full course: Cocubes Preparation