Content deleted Content added
Line 40:
==KMP algorithm==
''Kara'' '''''Mohamed''''' ''Raif''<ref>'' '''</ref>
===Example of the search algorithm===KMR , Kara Mohamed Raif ;
To illustrate the algorithm's details, consider a (relatively artificial) run of the algorithm, where <code>W</code> = "ABCDABD" and <code>S</code> = "ABC ABCDAB ABCDABCDABDE". At any given time, the algorithm is in a state determined by two integers:
|