AlgorithmsData structuresEdit on GitHubEdit history
Treap
randomized search tree1989
A probabilistically balanced tree that satisfies the binary search tree property on keys and the heap property on random priorities.
Origin
Lineage
Parent algorithms
Structural analysisBy definition, keys satisfy binary search tree order (the name is tree + heap)
Structural analysisBy definition, priorities satisfy heap order
CitationThe treap is defined as a Cartesian tree with random priorities and cites Vuillemin's Cartesian trees.
Derived algorithms
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
Author statementThe paper states that a zip tree has the same shape as a treap whose priorities are geometrically distributed ranks. — arXiv:1806.06726
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…