Slide 1 1 Splay trees (Sleator, Tarjan 1983) Slide 2 2 Motivation Assume you know the frequencies p 1, p 2, …. What is the best static tree ? You can find it in O(nlog(n))…
Splay trees (Sleator, Tarjan 1983) Motivation Assume you know the frequencies p1, p2 , …. What is the best static tree ? You can find it in O(nlog(n)) time (homework) Approximation…