标签:
----------------------------------------------------------------------------
Mean:
给定两个字符串str1和str2,输出str2在str1中第一次出现的下标.
analyse:
KMP算法模板题.
Time complexity: O(N)
view code
LeetCode - 28. Implement strStr()
标签:
原文地址:http://www.cnblogs.com/crazyacking/p/5201780.html