Binary-search-tree
November 26, 2023Question 9431 – Binary-search-tree
November 26, 2023Binary-search-tree
|
Question 9
|
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)?
|
2
|
|
|
3
|
|
|
4
|
|
|
6
|
Question 9 Explanation:

Height of the binary search tree = 3
Correct Answer: B
Question 9 Explanation:

Height of the binary search tree = 3
