Back to Search Start Over

Computing Minimal Unique Substrings for a Sliding Window.

Authors :
Mieno, Takuya
Fujishige, Yuta
Nakashima, Yuto
Inenaga, Shunsuke
Bannai, Hideo
Takeda, Masayuki
Source :
Algorithmica. Mar2022, Vol. 84 Issue 3, p670-693. 24p.
Publication Year :
2022

Abstract

A substring u of a string T is called a minimal unique substring (MUS) of T if u occurs exactly once in T and any proper substring of u occurs at least twice in T. In this paper, we study the problem of computing MUSs for a sliding window over a given string T. We first show how the set of MUSs can change when the window slides over T. We then present an O (n log σ ′) -time and O(d)-space algorithm to compute MUSs for a sliding window of size d over the input string T of length n, where σ ′ ≤ d is the maximum number of distinct characters in every window. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
01784617
Volume :
84
Issue :
3
Database :
Academic Search Index
Journal :
Algorithmica
Publication Type :
Academic Journal
Accession number :
155779781
Full Text :
https://doi.org/10.1007/s00453-021-00864-1