Splay Operations

Recall that inserts, deletes, and finds in a splay tree all consist of some number of splay operations (moving a node to the root) and a constant amount of pointer diddling.

We will show that splay operations have tex2html_wrap_inline161 amortized time and it will follow that a sequence of n inserts and deletes on an initially empty tree takes tex2html_wrap_inline161 per operation.

Like a balanced tree, but not!


next up previous
Next: Amortized Analysis Template Up: ANALYSIS OF SPLAY TREES Previous: ANALYSIS OF SPLAY TREES