I read this algorithm 5 times on wikipedia.org and didn't understood.
(sorry for my poor english)
# | User | Rating |
---|---|---|
1 | ecnerwala | 3650 |
2 | Benq | 3582 |
3 | Geothermal | 3570 |
3 | orzdevinwang | 3570 |
5 | cnnfls_csy | 3569 |
6 | tourist | 3565 |
7 | maroonrk | 3532 |
8 | Radewoosh | 3522 |
9 | Um_nik | 3483 |
10 | jiangly | 3468 |
# | User | Contrib. |
---|---|---|
1 | maomao90 | 174 |
2 | awoo | 164 |
3 | adamant | 163 |
4 | TheScrasse | 159 |
5 | nor | 158 |
6 | maroonrk | 156 |
7 | -is-this-fft- | 151 |
8 | SecondThread | 147 |
9 | orz | 146 |
10 | pajenegod | 145 |
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?
Time complexity of prefix function is still mystery to me :(