Parallel detection of all palindromes in a string
Abstract
This paper presents two efficient concurrent-read concurrent-write parallel algorithms that find all palindromes in a given string : - an 0/log n) time, n-processor algorithm over general alphabets. In case of constant size alphabets the algorithm requires only n/log n processors and thus achieves an optimal-speedup - An 0(log log n) time, n log n/log log n-processor algorithm over general alphabets. This is the fastest possible time with the number of processors used. These new results improve on the known parallel palindrome detection algorithms by using smaller auxiliary space and either by making fewer operations or by achieving a faster running time.