Computing Longest Lyndon Subsequences and Longest Common Lyndon Subsequences

International Workshop on Combinatorial Algorithms (IWOCA)(2023)

引用 0|浏览12
暂无评分
摘要
Given a string T of length n whose characters are drawn from an ordered alphabet of size σ , its longest Lyndon subsequence is a maximum-length subsequence of T that is a Lyndon word. We propose algorithms for finding such a subsequence in 𝒪(n^3) time with 𝒪(n) space, or online in 𝒪(n^3) space and time. Our first result can be extended to find the longest common Lyndon subsequence of two strings of length at most n in 𝒪(n^4 σ ) time using 𝒪(n^2) space.
更多
查看译文
关键词
Lyndon word,Subsequence,Lexicographic order,Dynamic programming
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要