...
Question 3738 – Data-Structures
November 23, 2023
Question 3889 – Data-Structures
November 23, 2023
Question 3738 – Data-Structures
November 23, 2023
Question 3889 – Data-Structures
November 23, 2023

Question 3888 – Data-Structures

What item is at the root after the following sequence of insertions into an empty splay tree :
1, 11, 3, 10, 8, 4, 6, 5, 7, 9, 2, ?

Correct Answer: B

Question 417 Explanation: 
A splay tree is a self-balancing binary search tree with the additional property that recently accessed elements are quick to access again. It performs basic operations such as insertion,
look-up and removal in O(log n) amortized time. For many sequences of non-random operations, splay trees perform better than other search trees, even when the specific pattern of the sequence is unknown.



A
1
B
2
C
4
D
8
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!!