TL;DR
This paper introduces efficient algorithms with $ ext{O}(n ext{log} n)$ complexity to compute all closed substrings of a string, providing a compact representation and analyzing their performance on different string classes.
Contribution
The paper presents the first space-efficient $ ext{O}(n ext{log} n)$ algorithms for computing all closed substrings and maximal closed strings, along with performance comparisons and a formula for MCSs in Fibonacci words.
Findings
Algorithms run in $ ext{O}(n ext{log} n)$ time.
Compact representation uses $ ext{O}(n ext{log} n)$ space.
Number of MCSs in Fibonacci words approximates $1.382 F_n$.
Abstract
A closed string is either of length one or contains a border that occurs only as a prefix and as a suffix in and nowhere else within . In this paper, we present fast time algorithms to compute all closed substrings by introducing a compact representation for all closed substrings of a string , using only space. These simple and space-efficient algorithms also compute maximal closed strings. Furthermore, we compare the performance of these algorithms and identify classes of strings where each performs best. Finally, we show that the exact number of MCSs () in a Fibonacci word , for , is , where is the golden ratio.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
