Tree Path Majority Data Structures
Travis Gagie, Meng He, Gonzalo Navarro

TL;DR
This paper introduces the first data structures for efficiently finding $ au$-majorities on tree paths, with linear and succinct space solutions that support fast queries and are practical for large trees.
Contribution
It presents novel data structures for $ au$-majority queries on tree paths, achieving optimal space and query time trade-offs, including succinct-space solutions based on entropy.
Findings
Linear-space data structure with $O((1/\tau)\log^* n \log\log_w \sigma)$ query time.
Space-efficient solutions using $2nH + 4n + o(n)$ bits and $nH + O(n)$ bits, with the same query time.
Construction time for all structures is $O(n\log n)$.
Abstract
We present the first solution to -majorities on tree paths. Given a tree of nodes, each with a label from , and a fixed threshold , such a query gives two nodes and and asks for all the labels that appear more than times in the path from to , where denotes the number of nodes in . Note that the answer to any query is of size up to . On a -bit RAM, we obtain a linear-space data structure with query time. For any , we can also build a structure that uses space, where denotes the function that applies logarithm times to , and answers queries in time . The construction time of both structures is . We also describe two succinct-space…
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.
