Solution to Implement strStr() by LeetCode

25 Apr

Question: http://oj.leetcode.com/problems/implement-strstr/

Question Name: Implement strStr()

The KMP is a much better solution. But as long as brute force passed all tests, let’s use brute force.

Leave a Reply

Your email address will not be published. Required fields are marked *