Grammar-Based Construction of Indexes for Binary Jumbled Pattern Matching

preprint2012arXivOpen access

Abstract

We show how, given a straight-line program with gg rules for a binary string BB of length nn, in O(g2/3n4/3)O(g^{2 / 3} n^{4 / 3}) time we can build a linear-space index such that, given mm and cc, in O(1) time we can determine whether there is a substring of BB with length mm containing exactly cc copies of 1. If we use O(nlog⁡n)O(n \log n) space for the index, then we can list all such substrings using O(m)O(m) time per substring.

Explore this paper’s authors, topics and related work.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Reviews 0

Write a reviewWrite

No reviews yet.

Discussion 0

Add a commentWrite

No comments yet.