Wednesday, October 8, 2014

Implement strStr()

Problem

Implement strStr().
Returns a pointer to the first occurrence of needle in haystack, or null if needle is not part of haystack.

Idea

暴力暴力

Solution


No comments:

Post a Comment