Skip to content

Latest commit

 

History

History

028. Implement strStr()

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
Implement strStr(). 
Returns the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack. 
实现查找子串函数
用简单的循环实现