Suffix Array / Suffix Automaton

Two distinct text-index structures: a lexicographically sorted suffix-position array and a compact automaton recognizing substrings.

Method

Build a suffix array and optionally an LCP array for indexed searches; alternatively build the suffix automaton with states for end-position equivalence classes and suffix links.

Applications

Bioinformatics (repeat detection), information retrieval, computational linguistics.

Advantages

Supports many string queries (longest common substring, pattern occurrence counts); space-efficient relative to suffix trees.

Limitations

These are not interchangeable structures. Complexity depends on alphabet, construction algorithm and query type; keep implementation-specific bounds explicit.

Alternatives

Suffix trees, FM-index, hashing.

Editorial clarification

Source description reviewed against the method-specific reference. Volume ordering is editorial, not a measured ranking; advantages are conditional rather than benchmark results.

Sources

Educational reference only, not professional advice.

All algorithms