loong qiang
像风一样自由

详见kmp算法解释 http://www.ruanyifeng.com/blog/2013/05/Knuth%E2%80%93Morris%E2%80%93Pratt_algorithm.html

 

posted on 2014-07-12 23:59  loong qiang  阅读(154)  评论(0编辑  收藏  举报