Splay Sort

Do a sequence of inserts, then traverse the resulting tree.

Running time: Clearly tex2html_wrap_inline139 .

We will see, in fact, that any sequence of k splays on a tree with n nodes runs in tex2html_wrap_inline145 .

We will use amortized analysis to show this.

Therefore, what is splay sort's running time?


next up previous
Next: AMORTIZED ANALYSIS Up: SPLAY TREES Previous: Operations Using Splays