Article ID | Journal | Published Year | Pages | File Type |
---|---|---|---|---|
4951996 | Theoretical Computer Science | 2017 | 14 Pages |
Abstract
Two space efficient algorithms to solve the LCSk problem and LCSâ¥k problem are presented in this paper. The algorithms improve the time and space complexities of the algorithms of Benson et al. [4]. The space cost of the first algorithm to solve the LCSk problem is reduced from O(n2) to O(kn), if the size of the two input sequences are both n. The time and space costs of the second algorithm to solve the LCSâ¥k problem are both improved. The time cost is reduced from O(kn2) to O(n2), and the space cost is reduced from O(n2) to O(kn). In the case of k=O(1), the two algorithms are both linear space algorithms.
Related Topics
Physical Sciences and Engineering
Computer Science
Computational Theory and Mathematics
Authors
Daxin Zhu, Lei Wang, Tinran Wang, Xiaodong Wang,