Implement [strStr()](http://www.cplusplus.com/reference/cstring/strstr/). Return the index of the first occurrence of needle in haystack, or **-1** if needle is not ...
//Runtime: 12 ms, faster than 25.32% of C++ online submissions for Implement strStr(). //Memory Usage: 7 MB, less than 100.00% of C++ online submissions for Implement ...