摘要:
详见kmp算法解释http://www.ruanyifeng.com/blog/2013/05/Knuth%E2%80%93Morris%E2%80%93Pratt_algorithm.html 阅读全文
posted @ 2014-07-12 23:59
loong qiang
阅读(163)
评论(0)
推荐(0)
摘要:
字符串朴素匹配法相等情况int index(const char * str1, const char * str2, int pos){ int i = pos; int j = 0; while(i = strlen(str2)) // matched and retu... 阅读全文
posted @ 2014-07-12 15:26
loong qiang
阅读(292)
评论(0)
推荐(0)
浙公网安备 33010602011771号