Every suffix of a text in one compressed trie: find a pattern in time proportional to its length, count how often it occurs, and read off the longest repeat.
This interactive visualization needs JavaScript.