Overview
Galil-Seiferas is a exact string matching method for exact string matching. It works by using periodicity structure to guarantee linear-time matching with constant space.
Galil-Seiferas addresses exact string matching by using periodicity structure to guarantee linear-time matching with constant space.
Compact metadata for implementation and discovery.
Galil-Seiferas is a exact string matching method for exact string matching. It works by using periodicity structure to guarantee linear-time matching with constant space.
Quick facts
Runtime and memory behavior at a glance.
Best
O(n)
Average
O(n + m)
Worst
O(n + m)
Space
O(n + m)
Show using periodicity structure to guarantee linear-time matching with constant space on a small exact string matching example.
Galil-Seiferas operates in O(n + m) time and O(n + m) space within the Exact String Matching family. Often compared with Bit-Parallel Levenshtein and Shift-And Algorithm.
What each reference supports for this entry.
String-matching reference for Galil-Seiferas exact matching and linear-time constant-space search.
Good next jumps from the relationship graph, ranked for useful discovery.
Galil-Seiferas and KMP are exact linear-time string matching algorithms with different space guarantees.
Galil-Seiferas and two-way matching both use structural string properties for linear-time exact search.