Finding All Approximate Gapped Palindromes

  • Authors:
  • Ping-Hui Hsu;Kuan-Yu Chen;Kun-Mao Chao

  • Affiliations:
  • Department of Computer Science and Information Engineering,;Department of Computer Science and Information Engineering,;Department of Computer Science and Information Engineering, and Graduate Institute of Biomedical Electronics and Bioinformatics, and Graduate Institute of Networking and Multimedia, National Tai ...

  • Venue:
  • ISAAC '09 Proceedings of the 20th International Symposium on Algorithms and Computation
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

We study the problem of finding all maximal approximate gapped palindromes in a string. More specifically, given a string S of length n, a parameter q 驴 0 and a threshold k 0, the problem is to identify all substrings in S of the form uvw such that (1) the Levenshtein distance between u and w r is at most k, where w r is the reverse of w and (2) v is a string of length q. The best previous work requires O(k 2 n) time. In this paper, we propose an O(kn)-time algorithm for this problem by utilizing an incremental string comparison technique. It turns out that the core technique actually solves a more general incremental string comparison problem that allows the insertion, deletion, and substitution of multiple symbols.