Computing Longest (Common) Lyndon Subsequences

Abstract

Given a string T with length n whose characters are drawn from an ordered alphabet of size σ, its longest Lyndon subsequence is a longest subsequence of T that is a Lyndon word. We propose algorithms for finding such a subsequence in O(n3) time with O(n) space, or online in O(n3 σ) space and time. Our first result can be extended to find the longest common Lyndon subsequence of two strings of length n in O(n4 σ) time using O(n3) space.

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…