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))…