2015年5月29日

leecode之Implement strStr()

摘要: KMP算法的实现:#include #include #include int strStr(char* haystack, char* needle) { if (haystack == NULL || needle == NULL) return -1; if (nee... 阅读全文

posted @ 2015-05-29 11:02 lakeone 阅读(224) 评论(0) 推荐(0) 编辑

导航