English

Order-preserving pattern matching with k mismatches

Data Structures and Algorithms 2014-03-07 v2

Abstract

We study a generalization of the recently introduced order-preserving pattern matching, where instead of looking for an exact copy of the pattern, we only require that the relative order between the elements is the same. In our variant, we additionally allow up to k mismatches between the pattern and the text, and the goal is to construct an efficient algorithm for small values of k. For a pattern of length m and a text of length n, our algorithm detects an order-preserving occurrence with up to k mismatches in O(n(loglogm + kloglogk)) time.

Keywords

Cite

@article{arxiv.1309.6453,
  title  = {Order-preserving pattern matching with k mismatches},
  author = {Pawel Gawrychowski and Przemyslaw Uznanski},
  journal= {arXiv preprint arXiv:1309.6453},
  year   = {2014}
}

Comments

This is the full version of an extended abstract to appear in CPM'14

R2 v1 2026-06-22T01:33:40.334Z