edited by
6,013 views
4 votes
4 votes

Consider the following binary search tree T given below: Which node contains the fourth smallest element in T?

  1. Q
  2. V
  3. W
  4. X
edited by

5 Answers

1 votes
1 votes
In these type of question,find INORDER traversal. INORDER TRAVERSAL is arranged in ascending order so in this question 4th element from starting of inorder traversal,i.e., W is 4th smallest element
Answer:

Related questions

9 votes
9 votes
9 answers
2
ajit asked Sep 23, 2015
14,720 views
How many different trees are there with four nodes $\text{A, B, C}$ and $\text{D}?$$30$$60$$90$$120$
5 votes
5 votes
5 answers
3
29 votes
29 votes
4 answers
4
Arjun asked Feb 12, 2020
21,875 views
In a balanced binary search tree with $n$ elements, what is the worst case time complexity of reporting all elements in range $[a,b]$? Assume that the number of reported ...