I read this algorithm 5 times on wikipedia.org and didn't understood.
(sorry for my poor english)
# | User | Rating |
---|---|---|
1 | tourist | 3757 |
2 | jiangly | 3647 |
3 | Benq | 3581 |
4 | orzdevinwang | 3570 |
5 | Geothermal | 3569 |
5 | cnnfls_csy | 3569 |
7 | Radewoosh | 3509 |
8 | ecnerwala | 3486 |
9 | jqdai0815 | 3474 |
10 | gyh20 | 3447 |
# | User | Contrib. |
---|---|---|
1 | maomao90 | 171 |
2 | awoo | 164 |
3 | adamant | 163 |
4 | TheScrasse | 159 |
5 | maroonrk | 155 |
6 | nor | 154 |
7 | -is-this-fft- | 152 |
8 | Petr | 147 |
9 | orz | 145 |
10 | pajenegod | 144 |
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 :(