Enumerating Range Modes

07/25/2019
by   Kentaro Sumigawa, et al.
0

We consider the range mode problem where given a sequence and a query range in it, we want to find items with maximum frequency in the range. We give time- and space- efficient algorithms for this problem. Our algorithms are efficient for small maximum frequency cases. We also consider a natural generalization of the problem: the range mode enumeration problem, for which there has been no known efficient algorithms. Our algorithms have query time complexities which is linear to the output size plus small terms.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
12/26/2017

Space-Efficient Algorithms for Longest Increasing Subsequence

Given a sequence of integers, we want to find a longest increasing subse...
research
07/10/2018

Improved Time and Space Bounds for Dynamic Range Mode

Given an array A of n elements, we wish to support queries for the most ...
research
07/06/2021

Space Efficient Two-Dimensional Orthogonal Colored Range Counting

In the two-dimensional orthogonal colored range counting problem, we pre...
research
07/19/2019

On Approximate Range Mode and Range Selection

For any ϵ∈ (0,1), a (1+ϵ)-approximate range mode query asks for the posi...
research
07/20/2023

Efficient algorithms for enumerating maximal common subsequences of two strings

We propose efficient algorithms for enumerating maximal common subsequen...
research
04/08/2019

Mode-Suppression: A Simple, Stable and Scalable Chunk-Sharing Algorithm for P2P Networks

The ability of a P2P network to scale its throughput up in proportion to...
research
03/16/2021

Space efficient quantum algorithms for mode, min-entropy and k-distinctness

We study the problem of determining if the mode of the output distributi...

Please sign up or login with your details

Forgot password? Click here to reset