English

An $O(n^2)$ Algorithm for Computing Longest Common Cyclic Subsequence

Data Structures and Algorithms 2010-04-20 v2

Abstract

The {\em longest common subsequence (LCS)} problem is a classic and well-studied problem in computer science. LCS is a central problem in stringology and finds broad applications in text compression, error-detecting codes and biological sequence comparison. However, in numerous contexts, words represent cyclic sequences of symbols and LCS must be generalized to consider all circular shifts of the strings. This occurs especially in computational biology when genetic material is sequenced form circular DNA or RNA molecules. This initiates the problem of {\em longest common cyclic subsequence (LCCS)} which finds the longest subsequence between all circular shifts of two strings. In this paper, we give an O(n2)O(n^2) algorithm for solving LCCS problem where nn is the number of symbols in the strings.

Keywords

Cite

@article{arxiv.0911.5031,
  title  = {An $O(n^2)$ Algorithm for Computing Longest Common Cyclic Subsequence},
  author = {Shihabur Rahman Chowdhury and Masud Hasan and Sumaiya Iqbal and M. Sohel Rahman},
  journal= {arXiv preprint arXiv:0911.5031},
  year   = {2010}
}

Comments

This paper has been withdrawn by the author due to a crucial error in the proofs

R2 v1 2026-06-21T14:16:20.748Z