I have meet following problem too for example there is given two text find longest string that occur in both i think we should create string array where we should put common srings and then compare their length and which length will be largest print it is there fast method?
+3
A:
The longest common substring problem: http://en.wikipedia.org/wiki/Longest_common_substring_problem
zaf
2010-05-03 08:36:13
please help with code
2010-05-03 09:07:43
Wikipedia has pseudocode, try converting that to your language of choice. If you still have problems then open another question.
zaf
2010-05-03 09:49:33