I read this algorithm 5 times on wikipedia.org and didn't understood.
(sorry for my poor english)
| # | User | Rating |
|---|---|---|
| 1 | Benq | 3792 |
| 2 | VivaciousAubergine | 3647 |
| 3 | Kevin114514 | 3611 |
| 4 | jiangly | 3583 |
| 5 | strapple | 3515 |
| 6 | tourist | 3470 |
| 7 | Radewoosh | 3415 |
| 8 | Um_nik | 3376 |
| 9 | maroonrk | 3361 |
| 10 | XVIII | 3345 |
| # | User | Contrib. |
|---|---|---|
| 1 | Qingyu | 162 |
| 2 | adamant | 148 |
| 3 | Um_nik | 146 |
| 4 | Dominater069 | 143 |
| 5 | errorgorn | 141 |
| 6 | cry | 138 |
| 7 | Proof_by_QED | 136 |
| 8 | YuukiS | 135 |
| 9 | chromate00 | 134 |
| 10 | soullless | 133 |
I read this algorithm 5 times on wikipedia.org and didn't understood.
(sorry for my poor english)
| Name |
|---|



didn't understood = false didn't understand = true
thanks!
Does "didn't understood" have a meaning, so you can deduce its logical value :P?
http://www.inf.fh-flensburg.de/lang/algorithmen/pattern/kmpen.htm see this one :)
if you can read russian, see it: e-maxx.ru/algo/prefix_function
Chrome can translate a whole page .....
Thanks!
can u guyz just explain me why my upper comment is downvoted 8 time (yet...I think more to come) !!!!!!!!??????? it would be very nice of u !!! perhaps i could learn how to behave well in social network !!!! (expecting more downvote for this....!!!!)....embarrassing !!!!!!!
I think it's because automatic translators just aren't good enough to translate technical texts (or almost any text, for that matter).
thanks to everybody. I understood it now.
Topcoder has a nice Tutorial.
It will surely be of great help for someone who posted it 2 years ago :P
But maybe there will be one less topic asking to explain KMP because this link will be helpful to someone? :D
This tutorial is great. http://www.btechsmartclass.com/data_structures/knuth-morris-pratt-algorithm.html and for code, you can find it anywhere.
Well, Did you notice that he posted this blog 8 years ago?