Papers
Topics
Authors
Recent
Search
2000 character limit reached

Range Minimum Queries in Minimal Space

Published 18 Feb 2021 in cs.DS | (2102.09463v1)

Abstract: We consider the problem of computing a sequence of range minimum queries. We assume a sequence of commands that contains values and queries. Our goal is to quickly determine the minimum value that exists between the current position and a previous position ii. Range minimum queries are used as a sub-routine of several algorithms, namely related to string processing. We propose a data structure that can process these commands sequences. We obtain efficient results for several variations of the problem, in particular we obtain O(1)O(1) time per command for the offline version and O(α(n))O(\alpha(n)) amortized time for the online version, where α(n)\alpha(n) is the inverse Ackermann function and nn the number of values in the sequence. This data structure also has very small space requirements, namely O(ℓ)O(\ell) where ℓ\ell is the maximum number active ii positions. We implemented our data structure and show that it is competitive against existing alternatives. We obtain comparable command processing time, in the nano second range, and much smaller space requirements.

Authors (1)

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.