AN O(N-LOG-N) ALGORITHM FOR FINDING DISSIMILAR STRINGS

Citation
S. Abbasi et A. Sengupta, AN O(N-LOG-N) ALGORITHM FOR FINDING DISSIMILAR STRINGS, Information processing letters, 62(3), 1997, pp. 135-139
Citations number
7
Categorie Soggetti
Information Science & Library Science","Computer Science Information Systems
ISSN journal
00200190
Volume
62
Issue
3
Year of publication
1997
Pages
135 - 139
Database
ISI
SICI code
0020-0190(1997)62:3<135:AOAFFD>2.0.ZU;2-7
Abstract
Let Sigma be a finite alphabet and x is an element of Sigma(n) . A str ing y is an element of Sigma(m) is said to be k-dissimilar to x, if no k length substring of x is equal to any k length substring of y. We p resent an O(n log n) algorithm which on input x is an element of Sigma (n) and an integer m less than or equal to n outputs an integer k and y is an element of Sigma(m) such that: (1) y is k-dissimilar to x. (2) There does not exist a string z of length m which is k - 1 dissimilar to x. (C) 1997 Elsevier Science B.V.