Why it matters
Splay trees are elegant amortized. Understanding shapes advanced BST.
Advertisement
The architecture
Access: rotate node to root via zig/zag/zig-zig operations.
Frequent accesses become fast.
Advertisement
How it works end to end
No balance field: simpler than RB tree.
Working set theorem: recently accessed nodes are cheap to reach.
Applications: caches, LCT, offline algorithms.