Faster Linear-Space Data Structures for Path Frequency Queries
Ovidiu Rata

TL;DR
This paper introduces new linear-space data structures for efficient path frequency queries on trees, improving query times and supporting multiple query types with optimized preprocessing.
Contribution
It presents the first linear-space data structures for several path frequency queries with improved query times and new capabilities, including path maximum g-value color queries.
Findings
Achieves $O(rac{1}{ ooted{2}} rac{ ooted{n}}{ ooted{w}})$ query time for path mode and least frequent element.
Reduces path $ ooted{ ext{ extalpha}- ext{minority}}$ query time to $O(rac{1}{ extroot{}})$ using a randomized algorithm.
Supports path maximum g-value color queries in $O(rac{ ooted{n}}{ ooted{w}})$ time with linear space.
Abstract
We present linear-space data structures for several frequency queries on trees, namely: path mode, path least frequent element, and path -minority queries. We present the first linear-space data structures, requiring preprocessing time, that can answer path mode and path least frequent element queries in time. This improves upon the best previously known bound of achieved by Durocher et al. in 2016. For the path -minority problem, where is specified at query time, we reduce the query time of the linear-space data structure of Durocher et al. from down to by employing a simple randomized algorithm with a success probability . We also present the first linear-space data structure supporting "Path Maximum -value Color" queries in …
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.
