We present solutions for the k-mismatch pattern matching problemwith don't cares. Given a text t of length n and a pattern p of length mwith don't care symbols and a bound k, our algorithms find all the placesthat the pattern matches the text with at most k mismatches. We firstgive an \Theta(n(k + logmlog k) log n) time randomised algorithm which findsthe correct answer with high probability. We then present a new deter-ministic \Theta(nk^2 log^m)time solution that uses tools originally developedfor group testing. Taking our derandomisation approach further we de-velop an approach based on k-selectors that runs in \Theta(nk polylogm) time.Further, in each case the location of the mismatches at each alignment isalso given at no extra cost.
Feedback for Dagstuhl Publishing