Logo image
An optimal algorithm to compute all the covers of a string
Journal article   Open access   Peer reviewed

An optimal algorithm to compute all the covers of a string

D. Moore and W.F. Smyth
Information Processing Letters, Vol.50(5), pp.239-246
1994
pdf
optimal_algorithm.pdfDownloadView
Author’s Version Open Access
url
Link to Published Version *Subscription may be requiredView

Abstract

Let x denote a given nonempty string of length n = |x| ⩾ 1. A string u is a cover of x if and only if every position of x lies within an occurrence of u within x. Thus x is always a cover of itself. In this paper we characterize all the covers of x in terms of an easily computed normal form for x. The characterization theorem then gives rise to a simple recursive algorithm which computes all the covers of x in time Θ(n).

Details

Metrics

182 File views/ downloads
119 Record Views

InCites Highlights

These are selected metrics from InCites Benchmarking & Analytics tool, related to this output

Collaboration types
Domestic collaboration
International collaboration
Citation topics
4 Electrical Engineering, Electronics & Computer Science
4.182 Data Structures, Algorithms & Complexity
4.182.1103 Efficient Algorithms
Web Of Science research areas
Computer Science, Information Systems
ESI research areas
Computer Science
Logo image