String Processing: Data Structures & Algorithms

From encodings and exact matching to suffix structures, compression, and production-grade text search

A 12-part series on string algorithms and data structures: encodings, string DP, exact and approximate matching, tries and Aho-Corasick, suffix arrays/trees/automata, compressed indexes, palindromes and combinatorics on words, regex/parsing, compression, and algorithm engineering, plus 14 deep dives and 5 hands-on projects.

12Parts Planned
14Deep Dives Planned
5Projects & Capstone Planned
Back to Technology
0 of 12 Parts Published

Main Parts

The core 12-part path: string models and encodings, string DP patterns, exact matching, tries and multi-pattern search, suffix arrays/trees/automata and compressed indexes, palindromes and combinatorics on words, approximate matching, automata/regex/parsing, compression, algebraic and randomized methods, then algorithm engineering.

0 of 14 Deep Dives Published

Deep Dives

Focused technique write-ups published alongside the part they extend: KMP's prefix function, the Z-algorithm, rolling hashes, Boyer-Moore, Aho-Corasick, suffix array/tree/automaton construction, FM-index backward search, Manacher vs. Eertree, Myers bit-vector edit distance, regex engine safety, BWT compression, and FFT-based wildcard matching.

0 of 5 Projects Published

Projects & Capstone

Four progressively harder hands-on builds -- a pattern-matching workbench, a multi-pattern log scanner, a text similarity/diff toolkit, and a compressed corpus search engine -- followed by a Unicode-aware document search system capstone.