3 ms·
Skip lists are just B+ trees in disguise. Look at the basic diagram here. https://en.wikipedia.org/wiki/B%2B_tree https://en.wikipedia.org/wiki/B%2B_tree See
by kazinator 10y ago
Skip lists are just B+ trees in disguise.
Look at the basic diagram here.
https://en.wikipedia.org/wiki/B%2B_tree https://en.wikipedia.org/wiki/B%2B_tree
See how there is an "express lane" containing just (3 5), and the lower layer contains the entire (1 2 3 4 5 6 7) list?
The main difference is that it's a combination of arrays and links rather than parallel lists.