Logo image
An O(n log n) algorithm for finding dissimilar strings
Technical documentation   Open access

An O(n log n) algorithm for finding dissimilar strings

Sarmad Abbasi and Anirvan Sengupta
Rutgers University
1996
DOI:
https://doi.org/10.7282/t3-befz-pn24

Abstract

Algorithms Analysis of algorithms Combinatorial problems Computational molecular biology Probabilistic method Lovasz local lemma
Let $Sigma$ be a finite alphabet and $x in Sigma^n$. A string $y in 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 present an $O(n log n)$ algorithm which on input $x in Sigma^n$ and an integer $m leq n$ outputs an integer $k$ and $y in Sigma^m$ such that: - $y$ is $k$-dissimilar to $x$. - There does not exist a string $z$ of length $m$ which is $k-1$ dissimilar to $x$.
pdf
lcsr-tr-264151.59 kBDownloadView
Technical Documentation Open Access
url
Report an accessibility issueView
Please complete a content remediation request to report an accessibility issue with a library electronic resource, website, or service.

Metrics

221 File downloads
59 Record Views

Details

Logo image