Software Engineering KB

Home

❯

01 Foundations

❯

01 Algorithms

❯

02 Sub Concept

❯

Aho Corasick

Aho-Corasick

Feb 10, 20261 min read

  • algorithms
  • string-algorithms
  • aho-corasick
  • pattern-matching

Aho-Corasick

← Back to Pattern Matching

A multi-pattern string matching algorithm that constructs an automaton from a set of patterns and processes the text in a single pass. O(n + m + z) time where z is the number of matches. Used in intrusion detection, spam filtering, and bioinformatics.

algorithms string-algorithms aho-corasick pattern-matching


Graph View

Backlinks

  • Pattern Matching

Created with Quartz v4.5.2 © 2026

  • GitHub