Digital-Logic-Design
October 16, 2023
Digital-Logic-Design
October 16, 2023
Digital-Logic-Design
October 16, 2023
Digital-Logic-Design
October 16, 2023

Data-Structures

Question 269
Consider the following binary search tree T given below:

Which node contains the fourth smallest element in T?

A
Q
B
V
C
W
D
X
Question 269 Explanation: 
In-order traversal of binary search tree gives the ascending order of the elements.
The in-order traversal of the above tree is UQXWPVZY
So the fourth smallest element is 4th element of the inorder which is W
Correct Answer: C
Question 269 Explanation: 
In-order traversal of binary search tree gives the ascending order of the elements.
The in-order traversal of the above tree is UQXWPVZY
So the fourth smallest element is 4th element of the inorder which is W
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!