Random Access to LZ-End: Faster and Deterministic
Abstract
The LZ-End parsing of a length- string is a variation of Lempel-Ziv compression introduced by Kreft and Navarro [DCC 2010], motivated by the lack of a linear-size structure with access time for the classical variant. While the original paper was only able to provide efficient extraction from the phrase boundaries, recently Kempa and Saha [SODA 2022] established that, for a string whose LZ-End parsing consists of phrases, there exists a random access data structure that uses space and guarantees query time. However, their proof does not yield an efficient construction algorithm, and their data structure is inherently randomized. We resolve both limitations by providing a deterministic, -space data structure that supports random access queries in polylogarithmic time and can be constructed in time directly from the LZ-End parsing. In addition to eliminating randomness and providing an efficient construction algorithm, the query time of our data structure is , significantly improving upon the query time of Kempa and Saha. We also show that our techniques can be used to support the more general substring-extraction. Namely, we present a data structure with the same space and the same construction time that given two indices and , outputs in time.
Create a lesson
Related papers
Faster Directed SSSP on Digraphs with Random Sparse Supports or Few DFS Exceptions
Shared title terminologycs.DSValery, Grishin, Aryeh Lev Zabokritskiy
Randomization Helps in Online Graph Exploration: Breaking the Deterministic Lower Bound on Cycles
Shared title terminologycs.DSJúlia Baligács, Jan Hązła, Lena Volk
How to Round Spiky Balls into Submission -- And Faster Algorithms For The Closest Vector Problem
Shared title terminologycs.DSDivesh Aggarwal, Aditya Morolia
Deterministic Distributed Graph Connectivity Sketching: Beating the Naive Sketch
Shared title terminologycs.DSJacob Holm, David Rasmussen Lolck
Solving (Vertex-Weighted) Directed Multiway Cut Faster Than 2^n
Shared title terminologycs.DSMingyu Xiao
A Deterministic Linear Time Algorithm for Minimum Spanning Tree
Shared title terminologycs.DSSanjeev Khanna, Aaron Putterman, Junkai Song