On Hardness of Jumbled Indexing
Abstract
Jumbled indexing is the problem of indexing a text for queries that ask whether there is a substring of matching a pattern represented as a Parikh vector, i.e., the vector of frequency counts for each character. Jumbled indexing has garnered a lot of interest in the last four years. There is a naive algorithm that preprocesses all answers in time allowing quick queries afterwards, and there is another naive algorithm that requires no preprocessing but has query time. Despite a tremendous amount of effort there has been little improvement over these running times. In this paper we provide good reason for this. We show that, under a 3SUM-hardness assumption, jumbled indexing for alphabets of size requires preprocessing time or query time for any . In fact, under a stronger 3SUM-hardness assumption, for any constant alphabet size there exist describable fixed constant and such that jumbled indexing requires preprocessing time or query time.
Keywords
Cite
@article{arxiv.1405.0189,
title = {On Hardness of Jumbled Indexing},
author = {Amihood Amir and Timothy Chan and Moshe Lewenstein and Noa Lewenstein},
journal= {arXiv preprint arXiv:1405.0189},
year = {2014}
}