Space-efficient Algorithms For Computing Minimal/shortest Unique Substrings
Mieno Takuya, Köppl Dominik, Nakashima Yuto, Inenaga Shunsuke, Bannai Hideo, Takeda Masayuki. Arxiv 2019
[Paper]
ARXIV
Given a string of length , a substring of is called
a shortest unique substring (SUS) for an interval if (a) occurs
exactly once in , (b) contains the interval (i.e. ), and (c) every substring of with containing
occurs at least twice in . Given a query interval , the interval SUS problem is to output all the SUSs for the interval
. In this article, we propose a bits data structure
answering an interval SUS query in output-sensitive time,
where is the number of returned SUSs. Additionally, we focus on
the point SUS problem, which is the interval SUS problem for . Here, we
propose a bits data structure answering
a point SUS query in the same output-sensitive time. We also propose
space-efficient algorithms for computing the minimal unique substrings of .
Similar Work