English

New tabulation and sparse dynamic programming based techniques for sequence similarity problems

Data Structures and Algorithms 2014-05-22 v2

Abstract

Calculating the length of a longest common subsequence (LCS) of two strings AA and BB of length nn and mm is a classic research topic, with many worst-case oriented results known. We present two algorithms for LCS length calculation with respectively O(mnloglogn/log2n)O(mn \log\log n / \log^2 n) and O(mn/log2n+r)O(mn / \log^2 n + r) time complexity, the latter working for r=o(mn/(lognloglogn))r = o(mn / (\log n \log\log n)), where rr is the number of matches in the dynamic programming matrix. We also describe conditions for a given problem sufficient to apply our techniques, with several concrete examples presented, namely the edit distance, LCTS and MerLCS problems.

Keywords

Cite

@article{arxiv.1312.2217,
  title  = {New tabulation and sparse dynamic programming based techniques for sequence similarity problems},
  author = {Szymon Grabowski},
  journal= {arXiv preprint arXiv:1312.2217},
  year   = {2014}
}
R2 v1 2026-06-22T02:23:13.377Z