Suffix Tree

A compressed trie containing all suffixes of a string, supporting linear-time substring queries.

Method

Ukkonen's algorithm builds the tree in linear time; each edge is labeled with a string fragment.

Applications

Bioinformatics (genome alignment), computational linguistics, data compression.

Advantages

Extremely rich query capability (longest repeated substring, pattern matching); theoretically elegant.

Limitations

Large space overhead (roughly 10-20 times the text size); complex implementation. High memory consumption; often replaced by suffix arrays in practice.

Alternatives

Suffix arrays, FM-index, compressed suffix trees.

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