in DS edited by
22,493 views
27 votes
27 votes

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. $2$
  2. $3$
  3. $4$
  4. $6$
in DS edited by
22.5k views

6 Answers

0 votes
0 votes

Height is 3

–3 votes
–3 votes
Why not height at root considered as 0
As per that the height is 2
Please correct me

1 comment

Read definition of height of tree ... which is # of longest edges from root to leaves .... and  height of node ... which is # of longest edges from that node to leaves ....
5
5
Answer:

Related questions