Longest common subsequence (LCS) is a classic and central problem in combinatorial optimization. While LCS admits a quadratic time solution, recent evidence suggests that solving the problem may be impossible in truly subquadratic time. A special case of LCS wherein each character appears at most once in every string is equivalent to the longest increasing subsequence problem (LIS) which can be solved in quasilinear time. In this work, we present novel algorithms for approximating LCS in truly subquadratic time and LIS in truly sublinear time. Our approximation factors depend on the ratio of the optimal solution size over the input size. We denote this ratio by λ and obtain the following results for LCS and LIS without any prior knowledge of λ. • A truly subquadratic time algorithm for LCS with approximation factor O(λ^3). • A truly sublinear time algorithm for LIS with approximation factor O(λ^3). Triangle inequality was recently used by Boroujeni et al. [1] and Chakraborty et al.[2] to present new approximation algorithms for edit distance. Our techniques for LCS extend the notion of triangle inequality to non-metric settings.
Bo Chen, Xiaoyu Li, Yingyu Liang, Jiangxuan Long, Zhenmei Shi, Zhao Song, Jiahao Zhang. Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing. 2025.
With the continuous improvement of people's quality of life, China's major enterprises are facing severe challenges, of course, there are certain opportunities, so domestic and foreign enterprises began to use computer database technology to help enterprises promote marketing. At present, computer database technology has been widely used in marketing in China. This paper briefly summarizes the computer database technology and marketing, analyzes the importance of computer database technology in marketing, and studies the role of computer database technology in marketing. Finally, the application of computer database technology in marketing is analyzed.