AlgorithmsData structuresEdit on GitHubEdit history
Randomized Binary Search Tree
RBST1998
A binary search tree that inserts a new element at the root of a subtree with probability 1/(n+1), so the tree always has the same distribution as one built from a random insertion order. Nodes store subtree sizes instead of priorities, and union and split operations are supported.
Origin
Lineage
Parent algorithms
Author statementThe paper adds randomized root insertion to an ordinary binary search tree to maintain the random-tree distribution. — doi:10.1145/274787.274812
CitationRandomized binary search trees belong to the same family of randomized balanced trees as treaps but use subtree sizes instead of priorities. — doi:10.1145/274787.274812
Notable implementations
No implementations registered yet. Try a repo scan to find some. Repo scan
Find more: GitHub · Semantic Scholar · Google Scholar · arXiv
Claims & disputes
Loading…