Periodicity in Data Streams with Wildcards
Abstract
We investigate the problem of detecting periodic trends within a string of length , arriving in the streaming model, containing at most wildcard characters, where . A wildcard character is a special character that can be assigned any other character. We say has wildcard-period if there exists an assignment to each of the wildcard characters so that in the resulting stream the length prefix equals the length suffix. We present a two-pass streaming algorithm that computes wildcard-periods of using bits of space, while we also show that this problem cannot be solved in sublinear space in one pass. We then give a one-pass randomized streaming algorithm that computes all wildcard-periods of with and no wildcard characters appearing in the last symbols of , using space.
Keywords
Cite
@article{arxiv.1802.07375,
title = {Periodicity in Data Streams with Wildcards},
author = {Funda Ergün and Elena Grigorescu and Erfan Sadeqi Azer and Samson Zhou},
journal= {arXiv preprint arXiv:1802.07375},
year = {2018}
}
Comments
To appear at CSR 2018