The following numbers are inserted into an empty binary search tree in the…

PYQ GATE 2004

The following numbers are inserted into an empty binary search tree in the given order: 10, 1, 3, 5, 15, 12, 16. What is the height of the binary search tree (the height is the maximum distance of a leaf node from the root)?

  1. A.

    2

  2. B.

    3

  3. C.

    4

  4. D.

    6

Attempted by 851 students.

Sign up free to check your answer

Sign up free

Explore the full course: Data Structures

Loading lesson…