• edited by
29,743 views

6 Answers

Best answer
54 54 votes

Height is 3

Correct Answer: $B$

• edited by
6 6 votes
Ans) 3

Draw a BST for the given numbers And the Distance from root(i.e 10) to leaf(i.e 5) is 3.
5 5 votes
ans will be 3 . hence option (b)
–3 –3 votes
Why not height at root considered as 0
As per that the height is 2
Please correct me
1 flag:
✌ Edit necessary (Tushar Rana “It's a doubt not an answer”)
Answer:
Position:
Show:

Related questions

32 32 votes
3 answers 3 answers
15.4k
15.4k views
gatecse asked Sep 21, 2014
15,418 views
Let $f(x)$ be the continuous probability density function of a random variable $x$, the probability that $a < x \leq b$, is :$f(b-a)$$f(b) - f(a)$$\int\limits_a^b f(x) dx...
94 94 votes
4 answers 4 answers
31.5k
31.5k views
Kathleen asked Sep 17, 2014
31,484 views
A data structure is required for storing a set of integers such that each of the following operations can be done in $O(\log n)$ time, where $n$ is the number of elements...
42 42 votes
5 answers 5 answers
19.6k
19.6k views
Kathleen asked Sep 18, 2014
19,587 views
Assume that the operators $+, -, \times$ are left associative and $\;\hat{}\; $ is right associative. The order of precedence (from highest to lowest) is $ \ \;\hat{}\;, ...
33 33 votes
3 answers 3 answers
29.5k
29.5k views
Kathleen asked Sep 16, 2014
29,472 views
Suppose the numbers $7, 5, 1, 8, 3, 6, 0, 9, 4, 2$ are inserted in that order into an initially empty binary search tree. The binary search tree uses the usual ordering o...