Computing Longest (Common) Lyndon Subsequences

01/18/2022
by   Hideo Bannai, et al.
0

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(n^3) time with O(n) space, or online in O(n^3 σ) space and time. Our first result can be extended to find the longest common Lyndon subsequence of two strings of length n in O(n^4 σ) time using O(n^3) space.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/14/2022

Space-Efficient STR-IC-LCS Computation

One of the most fundamental method for comparing two given strings A and...
research
05/25/2022

Substring Complexities on Run-length Compressed Strings

Let S_T(k) denote the set of distinct substrings of length k in a string...
research
02/16/2018

Online LZ77 Parsing and Matching Statistics with RLBWTs

Lempel-Ziv 1977 (LZ77) parsing, matching statistics and the Burrows-Whee...
research
04/18/2018

On Abelian Longest Common Factor with and without RLE

We consider the Abelian longest common factor problem in two scenarios: ...
research
05/30/2020

Longest Square Subsequence Problem Revisited

The longest square subsequence (LSS) problem consists of computing a lon...
research
01/30/2019

Faster queries for longest substring palindrome after block edit

Palindromes are important objects in strings which have been extensively...
research
03/04/2020

Time-Space Tradeoffs for Finding a Long Common Substring

We consider the problem of finding, given two documents of total length ...

Please sign up or login with your details

Forgot password? Click here to reset