Longest Square Subsequence Problem Revisited
arXiv:2006.00216
Abstract
The longest square subsequence (LSS) problem consists of computing a longest subsequence of a given string that is a square, i.e., a longest subsequence of form appearing in . It is known that an LSS of a string of length can be computed using time [Kosowski 2004], or with (model-dependent) polylogarithmic speed-ups using time [Tiskin 2013]. We present the first algorithm for LSS whose running time depends on other parameters, i.e., we show that an LSS of can be computed in time with space, where is the length of an LSS of and is the number of matching points on .
Accepted for SPIRE 2020