Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
156 tokens/sec
GPT-4o
7 tokens/sec
Gemini 2.5 Pro Pro
45 tokens/sec
o3 Pro
4 tokens/sec
GPT-4.1 Pro
38 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

On Abelian Longest Common Factor with and without RLE (1804.06809v1)

Published 18 Apr 2018 in cs.DS

Abstract: We consider the Abelian longest common factor problem in two scenarios: when input strings are uncompressed and are of size $n$, and when the input strings are run-length encoded and their compressed representations have size at most $m$. The alphabet size is denoted by $\sigma$. For the uncompressed problem, we show an $o(n2)$-time and $\Oh(n)$-space algorithm in the case of $\sigma=\Oh(1)$, making a non-trivial use of tabulation. For the RLE-compressed problem, we show two algorithms: one working in $\Oh(m2\sigma2 \log3 m)$ time and $\Oh(m (\sigma2+\log2 m))$ space, which employs line sweep, and one that works in $\Oh(m3)$ time and $\Oh(m)$ space that applies in a careful way a sliding-window-based approach. The latter improves upon the previously known $\Oh(nm2)$-time and $\Oh(m4)$-time algorithms that were recently developed by Sugimoto et al.\ (IWOCA 2017) and Grabowski (SPIRE 2017), respectively.

Citations (2)

Summary

We haven't generated a summary for this paper yet.