Computer Science > Data Structures and Algorithms
[Submitted on 15 Dec 2008 (this version), latest version 2 Dec 2009 (v3)]
Title:Optimal Succinctness for Range Minimum Queries
View PDFAbstract: For an array A of n objects from a totally ordered universe, a range minimum query (RMQ) asks for the position of the minimum element in the sub-array A[i,j]. We focus on the setting where the array $A$ is static and known in advance, and can hence be preprocessed into a scheme in order to answer future queries faster. We make the further assumption that the input array A cannot be used at query time. Under this assumption, a natural lower bound of 2n bits for RMQ-schemes exists. We give the first truly succinct preprocessing scheme for O(1)-RMQs. Its final space consumption is 2n+o(n) bits, thus being asymptotically optimal. We also give a simple linear-time construction algorithm for this scheme that needs only n+o(n) bits of space in addition to the 2n+o(n) bits needed for the final data structure, thereby lowering the peak space consumption of previous schemes from O(n\log n) to O(n) bits. We also improve on LCA-computation in BPS- and DFUDS-encoded trees.
Submission history
From: Johannes Fischer [view email][v1] Mon, 15 Dec 2008 12:03:31 UTC (74 KB)
[v2] Thu, 9 Apr 2009 07:35:41 UTC (37 KB)
[v3] Wed, 2 Dec 2009 09:22:49 UTC (46 KB)
References & Citations
Bibliographic and Citation Tools
Bibliographic Explorer (What is the Explorer?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)
Code, Data and Media Associated with this Article
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)
Demos
Recommenders and Search Tools
Influence Flower (What are Influence Flowers?)
Connected Papers (What is Connected Papers?)
CORE Recommender (What is CORE?)
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.