login

The Boyer–Moore–Galil String Searching Strategies Revisited

SIAM Journal on ComputingPublished 1 February 1986
Alberto Apostolico, Raffaele Giancarlo
Citations141
SJR quartileQ1
SJR score1.40
SNIP1.55

TL;DR

Based on the Boyer–Moore–Galil approach, a new algorithm is proposed which requires a number of character comparisons bounded by 2n, regardless of the number of occurrences of the pattern in the textstring.

Abstract

Based on the Boyer–Moore–Galil approach, a new algorithm is proposed which requires a number of character comparisons bounded by 2n, regardless of the number of occurrences of the pattern in the textstring. Preprocessing is only slightly more involved and still requires a time linear in the pattern size.

Keywords

Computer Science