chenyufeng1991 / 28.-Implement-strStr-

Implement strStr(). Returns the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

28.-Implement-strStr-

Implement strStr(). Returns the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack.

About

Implement strStr(). Returns the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack.


Languages

Language:C++ 100.0%