i can only find hints on how to make an algorithm for a longest repeated substring in two separate strings in comparing the two. but what i need help on is how to find a longest repeated substring in one SINGLE looooong string (which is read from a text file). i cant find any hints on how to do it. can anyone help me please?
Asked
Active
Viewed 62 times
0
-
The first [reference I find](http://en.wikipedia.org/wiki/Longest_repeated_substring_problem) has nothing to say about two separate strings. – Martijn Pieters Sep 18 '14 at 06:55
-
The second reference is [Finding the longest repeated substring](http://stackoverflow.com/q/10355103) – Martijn Pieters Sep 18 '14 at 06:55