What is a Binary Search Tree (BST)?

PYQ CoCubes 2023

What is a Binary Search Tree (BST)?

  1. A.

    A tree in which each node has exactly two children

  2. B.

    A binary tree in which for each node, value of all the nodes in left sub tree is lesser and value of all nodes in right subtree is greater

  3. C.

    A tree in which every node has at most two children, and all children nodes are leaf nodes

  4. D.

    None of the above

Attempted by 442 students.

Sign up free to check your answer

Sign up free

Explore the full course: Cdac C Cat Complete Preparation

Loading lesson…