In computer science, an x-fast trie is a data structure for storing integers from a bounded domain.
Each leaf stores a pointer to its predecessor and successor, thereby forming a doubly linked list.
Like van Emde Boas trees, x-fast tries support the operations of an ordered associative array.
This includes the usual associative array operations, along with two more order operations, Successor and Predecessor: Finding the value associated with a key k that is in the data structure can be done in constant time by looking up k in LSS[0], which is a hash table on all the leaves.
Therefore, the descendant pointer points to the successor or the predecessor of k. Depending on which one we are looking for, we might have to take one step in the linked list to the next or previous leaf.
Then we walk from the leaf to the root of the trie, removing all nodes whose subtree only contained k and updating the descendant pointers where necessary.
[1] A compression technique similar to patricia tries can be used to significantly reduce the space usage of x-fast tries in practice.