Did you know Cards Games

Longest repeated substring problem

Longest repeated substring problem: computer science problem. No. 1,325,628 of 4,515,532 cards by fame.

Longest repeated substring problem: quick facts

Description
Computer science problem
Rarity in the game
Rare card
In its topic
No. 7,342 of 9,102 “Computer science” cards
Wikidata
Q6673747
Wikipedia page views
about 240 a month (November 2025 – October 2026)

Fame score: Wikipedia page views (July 2015 – October 2026, 39 languages). Updated .

Longest repeated substring problem
Photo: Theshawnv, CC BY-SA 4.0 (Wikimedia Commons)

Longest repeated substring problem: summary

In computer science, the longest repeated substring problem is the problem of finding the longest substring of a string that occurs at least twice. This problem can be solved in linear time and space Θ(n) by building a suffix tree for the string (with a special end-of-string symbol like '$' appended), and finding the deepest internal node in the tree with more than one child. Depth is measured by the number of characters traversed from the root.

Source: Wikipedia (CC BY-SA 4.0)

More cards: Computer science

The best-known of the 9,102 “Computer science” cards

This card's topics

“Longest repeated substring problem” is one of the 4,515,532 cards of Did you know Cards, the free Wikipedia card game where you learn as you play: every card is a piece of knowledge from Wikipedia. Open boosters, complete your albums and challenge other players to duels.