External inverse pattern matching [chapter]

Leszek Gasieniec, Piotr Indyk, Piotr Krysta
1997 Lecture Notes in Computer Science  
We consider external inverse pattern matching problem. Given a text T of length n over an ordered alphabet , such that j j = , and a number m n. The entire problem is to nd a patternP MAX 2 m which is not a subword of T and which maximizes the sum of Hamming distances betweenP MAX and all subwords of T of length m. We present optimal O(n log )-time algorithm for the external inverse pattern matching problem which substantially improves the only known polynomial O(nm log )-time algorithm
more » ... ed in 3]. Moreover we discuss a fast parallel implementation of our algorithm on the CREW PRAM model.
doi:10.1007/3-540-63220-4_53 fatcat:hsoif5hterehdczipwca4io5qq