Sorted Range Reporting

04/06/2021
by   Waseem Akram, et al.
0

In sorted range selection problem, the aim is to preprocess a given array A[1: n] so as to answers queries of type: given two indices i,j (1 ≤ i≤ j ≤ n) and an integer k, report k smallest elements in sorted order present in the sub-array A[i: j] Brodal et.al.[2] have shown that the problem can be solved in O(k) time after O(n log n) preprocessing in linear space. In this paper we discuss another tradeoff. We reduce preprocessing time to O(n), but query time is O(k log k), again using linear space. Our method is very simple.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/13/2021

The k-mappability problem revisited

The k-mappability problem has two integers parameters m and k. For every...
research
12/03/2021

Point Enclosure Problem for Homothetic Polygons

In this paper, we investigate the homothetic point enclosure problem: gi...
research
07/25/2022

Simple O(1) Query Algorithm for Level Ancestors

This note describes a very simple O(1) query time algorithm for finding ...
research
07/21/2020

New Data Structures for Orthogonal Range Reporting and Range Minima Queries

In this paper we present new data structures for two extensively studied...
research
03/04/2020

Time-Space Tradeoffs for Finding a Long Common Substring

We consider the problem of finding, given two documents of total length ...
research
05/24/2018

Longest Unbordered Factor in Quasilinear Time

A border u of a word w is a proper factor of w occurring both as a prefi...
research
06/19/2023

On Distribution Dependent Sub-Logarithmic Query Time of Learned Indexing

A fundamental problem in data management is to find the elements in an a...

Please sign up or login with your details

Forgot password? Click here to reset