Online and Offline Algorithms for Counting Distinct Closed Factors via Sliding Suffix Trees

September 29, 2024 Β· Declared Dead Β· πŸ› Conference on Current Trends in Theory and Practice of Informatics

πŸ‘» CAUSE OF DEATH: Ghosted
No code link whatsoever

"No code URL or promise found in abstract"

Evidence collected by the PWNC Scanner

Authors Takuya Mieno, Shun Takahashi, Kazuhisa Seto, Takashi Horiyama arXiv ID 2409.19576 Category cs.DS: Data Structures & Algorithms Citations 1 Venue Conference on Current Trends in Theory and Practice of Informatics Last Checked 4 months ago
Abstract
A string is said to be closed if its length is one, or if it has a non-empty factor that occurs both as a prefix and as a suffix of the string, but does not occur elsewhere. The notion of closed words was introduced by [Fici, WORDS 2011]. Recently, the maximum number of distinct closed factors occurring in a string was investigated by [Parshina and Puzynina, Theor. Comput. Sci. 2024], and an asymptotic tight bound was proved. In this paper, we propose two algorithms to count the distinct closed factors in a string T of length n over an alphabet of size Οƒ. The first algorithm runs in O(n log Οƒ) time using O(n) space for string T given in an online manner. The second algorithm runs in O(n) time using O(n) space for string T given in an offline manner. Both algorithms utilize suffix trees for sliding windows.
Community shame:
Not yet rated
Community Contributions

Found the code? Know the venue? Think something is wrong? Let us know!

πŸ“œ Similar Papers

In the same crypt β€” Data Structures & Algorithms

Died the same way β€” πŸ‘» Ghosted