Zip-zip Trees: Making Zip Trees More Balanced, Biased, Compact, or Persistent
Ofek Gila (1), Michael T. Goodrich (1), Robert E. Tarjan (2) ((1), University of California, Irvine, (2) Princeton University)

TL;DR
Zip-zip trees are a new variant of zip trees that are more balanced, space-efficient, and can be biased or persistent, with theoretical and empirical analysis showing competitive depth bounds and low metadata overhead.
Contribution
We introduce zip-zip trees, a simple variant of zip trees that improves balance, reduces metadata, and supports biasing and persistence, with rigorous analysis and practical variants.
Findings
Expected node depth is at most 1.3863 log n - 1
Uses only O(log log n) bits of metadata per node
Supports biasing and partial persistence efficiently
Abstract
We define simple variants of zip trees, called zip-zip trees, which provide several advantages over zip trees, including overcoming a bias that favors smaller keys over larger ones. We analyze zip-zip trees theoretically and empirically, showing, e.g., that the expected depth of a node in an -node zip-zip tree is at most , which matches the expected depth of treaps and binary search trees built by uniformly random insertions. Unlike these other data structures, however, zip-zip trees achieve their bounds using only bits of metadata per node, w.h.p., as compared to the bits per node required by treaps. In fact, we even describe a ``just-in-time'' zip-zip tree variant, which needs just an expected number of bits of metadata per node. Moreover, we can define zip-zip trees to be strongly history independent, whereas treaps are…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNetwork Packet Processing and Optimization · Algorithms and Data Compression · Complexity and Algorithms in Graphs
