|
ADS
Algorithms and Data Structures
|
The skip list of Pugh, beyond the book. More...
Files | |
| file | ADS/dictionary/SkipList.h |
| The skip list of Pugh, beyond the book: a sorted list of the keys with express lanes, each node being in the levels 0 to \( L - 1 \), \( L \) drawn with probability \( 2^{-L} \), and each level a sorted list of its nodes; a search goes along the highest level and drops a level before passing the key, in \( O( \log n ) \) expected time, and an insertion or a removal links or unlinks the node on its levels. | |
Classes | |
| class | ADS::SkipList< K, V > |
| a DICTIONARY on a skip list, an SSet of Morin by lowerBound() More... | |
The skip list of Pugh, beyond the book.
The definitions, the invariants and the costs of the area are in Theory of dictionaries.