Suffix Automaton: Definition, Construction, and Applications
Definition
A suffix automaton (SAM) for a string (s) is the minimal deterministic finite automaton (DFA) that accepts all suffixes of (s). Formally:
A SAM is a directed acyclic graph (DAG) where nodes represent states and edges represent transitions.
The source node (t_0) serves as the initial state. All states are reachable from (t_0).
Each t ...
Posted on Fri, 08 May 2026 15:39:54 +0000 by james13009