Volume 9 Number 8 (Aug. 2014)
Home > Archive > 2014 > Volume 9 Number 8 (Aug. 2014) >
JCP 2014 Vol.9(8): 1769-1775 ISSN: 1796-203X
doi: 10.4304/jcp.9.8.1769-1775

Longest Common Subsequence Problem for Run-Length-Encoded Strings

Shegufta Bakht Ahsan, Syeda Persia Aziz, M. Sohel Rahman
A`EDA Group Department of CSE, BUET, Dhaka-1000, Bangladesh

Abstract—In this paper, we present a new and efficient algorithm for solving the Longest Common Subsequence (LCS) problem between two run-length-encoded (RLE) strings. Suppose ^ Y and ^X are two RLE strings having length ^k and ^` respectively. Also assume that Y and X are the two uncompressed versions of the two RLE strings ^ Y and ^X having length k and ` respectively. Then, our algorithm runs in O((^k+ ^`)+Rlog log(^k^`)+Rlog log !) time, where ! = k + ` and R is the total number of ordered pairs of positions at which the two RLE strings match. Our algorithm outperforms the best algorithms for the same problem in the literature.

Index Terms—RLE, LCS, vEB Tree, Bounded Heap, Matched Block Calculation.

[PDF]

Cite: Shegufta Bakht Ahsan, Syeda Persia Aziz, M. Sohel Rahman, "Longest Common Subsequence Problem for Run-Length-Encoded Strings," Journal of Computers vol. 9, no. 8, pp. 1769-1775, 2014.

General Information

ISSN: 1796-203X
Abbreviated Title: J.Comput.
Frequency: Bimonthly
Editor-in-Chief: Prof. Liansheng Tan
Executive Editor: Ms. Nina Lee
Abstracting/ Indexing: DBLP, EBSCO,  ProQuest, INSPEC, ULRICH's Periodicals Directory, WorldCat,etc
E-mail: jcp@iap.org
  • Nov 14, 2019 News!

    Vol 14, No 11 has been published with online version   [Click]

  • Mar 20, 2020 News!

    Vol 15, No 2 has been published with online version   [Click]

  • Dec 16, 2019 News!

    Vol 14, No 12 has been published with online version   [Click]

  • Sep 16, 2019 News!

    Vol 14, No 9 has been published with online version   [Click]

  • Aug 16, 2019 News!

    Vol 14, No 8 has been published with online version   [Click]

  • Read more>>