Monday, January 20, 2014

Implement strStr(). Java

LeetCode


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