Skip List

Skip list is a data structure that implements dictinaries. It assumes that random numbers can be generated easily in any computer systems and uses randomization in its structure.

The expected worst case performance of a skip list is similar to that of an AVL tree.

A skip list S for dictionary D consists a series of lists {S0, S1, ..., Sh} where S0 contains every item of D plus the two special items with keys -∞ and +∞. For 1 <= i <= (h-1), list Si contains a randomly generated subset (usually half) of the items in list Si-1 plus the two special items. List Sh contains only the two special items.

Traversal operations in skip list:

Main operations: