Loading tutorials
key and a forward list. The head sentinel is a node with no key and one pointer per layer.2 min readupdate array records the last node visited on each layer, and you should be comfortable with singly linked list pointer splicing and basic Python.4 min readNode, _random_level, _find_predecessors, insert and delete.3 min readP and MAX_LEVEL. Both are tuning knobs, and this chapter explains how to pick them.3 min readforward array and the update array. It adds one number to each pointer so the list can answer "what is the position of this key?" and "which key is at position k?" in expected O(log n) time.2 min read