Compressed Range Minimum Queries

February 12, 2019 Β· Declared Dead Β· πŸ› SPIRE

πŸ‘» CAUSE OF DEATH: Ghosted
No code link whatsoever

"No code URL or promise found in abstract"

Evidence collected by the PWNC Scanner

Authors PaweΕ‚ Gawrychowski, Seungbum Jo, Shay Mozes, Oren Weimann arXiv ID 1902.04427 Category cs.DS: Data Structures & Algorithms Citations 3 Venue SPIRE Last Checked 4 months ago
Abstract
Given a string $S$ of $n$ integers in $[0,Οƒ)$, a range minimum query RMQ$(i, j)$ asks for the index of the smallest integer in $S[i \dots j]$. It is well known that the problem can be solved with a succinct data structure of size $2n + o(n)$ and constant query-time. In this paper we show how to preprocess $S$ into a compressed representation that allows fast range minimum queries. This allows for sublinear size data structures with logarithmic query time. The most natural approach is to use string compression and construct a data structure for answering range minimum queries directly on the compressed string. We investigate this approach in the context of grammar compression. We then consider an alternative approach. Instead of compressing $S$ using string compression, we compress the Cartesian tree of $S$ using tree compression. We show that this approach can be exponentially better than the former, is never worse by more than an $O(Οƒ)$ factor (i.e. for constant alphabets it is never asymptotically worse), and can in fact be worse by an $Ξ©(Οƒ)$ factor.
Community shame:
Not yet rated
Community Contributions

Found the code? Know the venue? Think something is wrong? Let us know!

πŸ“œ Similar Papers

In the same crypt β€” Data Structures & Algorithms

Died the same way β€” πŸ‘» Ghosted