Knuth-Morris-Pratt string search: Difference between revisions

Content added Content deleted
(Split long strings into concatenated shorter strings.)
(Added a missing ‘"’ in the strings.)
Line 404: Line 404:
"there would have been a time for such a word",
"there would have been a time for such a word",
"needle need noodle needle",
"needle need noodle needle",
"InhisbookseriesTheArtofComputerProgrammingpublishedbyAddisonWesleyDKnuth &
"InhisbookseriesTheArtofComputerProgrammingpublishedbyAddisonWesleyDKnuth" &
"usesanimaginarycomputertheMIXanditsassociatedmachinecodeandassembly" &
"usesanimaginarycomputertheMIXanditsassociatedmachinecodeandassembly" &
"languagestoillustratetheconceptsandalgorithmsastheyarepresented",
"languagestoillustratetheconceptsandalgorithmsastheyarepresented",