Splaying a Node

Brings node x to the top, two levels at a time.

Three rotation-pair cases:


next up previous
Next: Splay Example Step 1 Up: SPLAY TREES Previous: Basic Idea