Paper record
W4239774287From coding theory to efficient pattern matching
Raphaël Clifford, Klim Efremenko, Ely Porat, Amir Rothschild
- Year
- 2009
- Venue
- ACM-SIAM Symposium on Discrete Algorithms (SODA)
- References
- 0
- Cited by
- 41
Details and counts from OpenAlex.
Abstract
We consider the classic problem of pattern matching with few mismatches in the presence of promiscuously matching wildcard symbols. Given a text t of length n and a pattern p of length m with optional wildcard symbols and a bound k , our algorithm finds all the alignments for which the pattern matches the text with Hamming distance at most k and also returns the location and identity of each mismatch. The algorithm we present is deterministic and runs in Õ( kn ) time, matching the best known randomised time complexity to within logarithmic factors. The solutions we develop borrow from the tool set of algebraic coding theory and provide a new framework in which to tackle approximate pattern matching problems.