Murdoch University Research Repository

Welcome to the Murdoch University Research Repository

The Murdoch University Research Repository is an open access digital collection of research
created by Murdoch University staff, researchers and postgraduate students.

Learn more

String covering with optimal covers

Mhaskar, N. and Smyth, W.F. (2018) String covering with optimal covers. Journal of Discrete Algorithms, 51 . pp. 26-38.

PDF - Authors' Version
Download (414kB) | Preview
Link to Published Version:
*Subscription may be required


In this paper we introduce the notion of an optimal cover. Let M denote the maximum number of positions in w covered by any repeating substring of w. Then a longest (shortest) optimal cover u is a longest (shortest) repeating substring of w that covers M positions. The advantage of this notion is that it is not only applicable to all strings, but also that it does not share the deficiencies of the existing definitions of covers. We show that both the longest and the shortest optimal covers for a given string w of length n can be computed easily and efficiently in O(n log n) time and O(n) space. We further show that the data structures used to compute optimal covers also compute the α-partial covers introduced in [10].

Item Type: Journal Article
Murdoch Affiliation(s): School of Engineering and Information Technology
Publisher: Elsevier
Copyright: © 2018 Elsevier B.V.
Item Control Page Item Control Page


Downloads per month over past year