Slide 4
Slide 4 text
Introduction Operation Time Analysis Applications Conclusion
Supported Operations
In the following, T, T0 are splay trees and x are nodes.
Splay(
T, x
)
move the node x of T to the root.
Find(
T, k
)
find the node x with key k.
Insert(
T, k
)
insert a new node with key k into T.
Delete(
T, x
)
delete the node x of T.
Split(
T, k
)
Join(
T
1
, T
2)
.
.
.
All the cost of above operations are O
(log
n
)
amortized, O
(
n
)
worst.