Entropy Trees and Range-Minimum Queries In Optimal Average-Case Space

03/06/2019
by   J. Ian Munro, et al.
0

The range-minimum query (RMQ) problem is a fundamental data structuring task with numerous applications. Despite the fact that succinct solutions with worst-case optimal 2n+o(n) bits of space and constant query time are known, it has been unknown whether such a data structure can be made adaptive to the reduced entropy of random inputs (Davoodi et al. 2014). We construct a succinct data structure with the optimal 1.736n+o(n) bits of space on average for random RMQ instances, settling this open problem. Our solution relies on a compressed data structure for binary trees that is of independent interest. It can store a (static) binary search tree generated by random insertions in asymptotically optimal expected space and supports many queries in constant time. Using an instance-optimal encoding of subtrees, we furthermore obtain a "hyper-succinct" data structure for binary trees that improves upon the ultra-succinct representation of Jansson, Sadakane and Sung (2012).

READ FULL TEXT

page 1

page 2

page 3

page 4

research
04/27/2021

Hypersuccinct Trees – New universal tree source codes for optimal compressed tree data structures

We present a new universal source code for unlabeled binary and ordinal ...
research
04/17/2022

An n H_k-compressed searchable partial-sums data structure for static sequences of sublogarithmic positive integers

We consider the space needed to store a searchable partial-sums data str...
research
07/25/2019

How to Store a Random Walk

Motivated by storage applications, we study the following data structure...
research
10/04/2018

Compound Binary Search Tree and Algorithms

The Binary Search Tree (BST) is average in computer science which suppor...
research
05/22/2020

Still Simpler Static Level Ancestors

A level-ancestor or LA query about a rooted tree T takes as arguments a ...
research
11/03/2018

Compressed Multiple Pattern Matching

Given d strings over the alphabet {0,1,...,σ-1}, the classical Aho--Cora...
research
03/26/2020

Succinct Dynamic Ordered Sets with Random Access

The representation of a dynamic ordered set of n integer keys drawn from...

Please sign up or login with your details

Forgot password? Click here to reset