...
Ethernet
August 31, 2024
Ethernet
August 31, 2024

CMI 2019

Question 3
Suppose that the figure to the right is a binary search tree. The letters indicate the names of the nodes, not the values that are stored. What is the predecessor node, in terms of value, of the root node A?
A
D
B
H
C
I
D
M
Question 3 Explanation: 
The predecessor of A is the rightmost node in the left subtree of A.
Correct Answer: C
Question 3 Explanation: 
The predecessor of A is the rightmost node in the left subtree of A.
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!!