arXiv · 1606.04042
Randomized Ternary Search Tries
Abstract
This paper presents a new kind of self-balancing ternary search trie that uses a randomized balancing strategy adapted from Aragon and Seidel's randomized binary search trees ("treaps"). After any sequence of insertions and deletions of strings, the tree looks like a ternary search trie built by inserting strings in random order. As a result, the time cost of searching, inserting, or deleting a string of length k in a tree with n strings is at most O(k + log n) with high probability.
Explore related subjects
Keep this discovery
Nicolai Diethelm. 2016-06-13. Randomized Ternary Search Tries. https://arxiv.org/abs/1606.04042
Cite the original work for its findings. Save a collection to share your selection of sources.