Skip to content
UPEEC

Suffix Trees

A compressed trie of all suffixes of a string.

Expert
Comments 0

Substring search in O(m)O(m), longest repeated substring, and more; built in O(n)O(n) by Ukkonen's algorithm. Memory-heavy.

Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.

Discussion (0)

Sign in or join free to ask questions and discuss this topic.