加载中…
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 $O(n^2 (\log \log n)^2 / \log^2 n)$ 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 .

生成讲解博客的中文版本

生成AI智能校验的中文版本