English

Dynamic data structures for parameterized string problems

Data Structures and Algorithms 2022-05-03 v1

Abstract

We revisit classic string problems considered in the area of parameterized complexity, and study them through the lens of dynamic data structures. That is, instead of asking for a static algorithm that solves the given instance efficiently, our goal is to design a data structure that efficiently maintains a solution, or reports a lack thereof, upon updates in the instance. We first consider the Closest String problem, for which we design randomized dynamic data structures with amortized update times dO(d)d^{\mathcal{O}(d)} and ΣO(d)|\Sigma|^{\mathcal{O}(d)}, respectively, where Σ\Sigma is the alphabet and dd is the assumed bound on the maximum distance. These are obtained by combining known static approaches to Closest String with color-coding. Next, we note that from a result of Frandsen et al.~[J. ACM'97] one can easily infer a meta-theorem that provides dynamic data structures for parameterized string problems with worst-case update time of the form O(loglogn)\mathcal{O}(\log \log n), where kk is the parameter in question and nn is the length of the string. We showcase the utility of this meta-theorem by giving such data structures for problems Disjoint Factors and Edit Distance. We also give explicit data structures for these problems, with worst-case update times O(k2kloglogn)\mathcal{O}(k2^{k}\log \log n) and O(k2loglogn)\mathcal{O}(k^2\log \log n), respectively. Finally, we discuss how a lower bound methodology introduced by Amarilli et al.~[ICALP'21] can be used to show that obtaining update time O(f(k))\mathcal{O}(f(k)) for Disjoint Factors and Edit Distance is unlikely already for a constant value of the parameter kk.

Keywords

Cite

@article{arxiv.2205.00441,
  title  = {Dynamic data structures for parameterized string problems},
  author = {Jędrzej Olkowski and Michał Pilipczuk and Mateusz Rychlicki and Karol Węgrzycki and Anna Zych-Pawlewicz},
  journal= {arXiv preprint arXiv:2205.00441},
  year   = {2022}
}

Comments

28 pages