14 lines
255 B
C++
14 lines
255 B
C++
|
#ifndef S0028_FIND_THE_INDEX_OF_THE_FIRST_OCCURRENCE_IN_A_STRING
|
||
|
#define S0028_FIND_THE_INDEX_OF_THE_FIRST_OCCURRENCE_IN_A_STRING
|
||
|
|
||
|
#include <string>
|
||
|
|
||
|
using namespace std;
|
||
|
|
||
|
class Solution {
|
||
|
public:
|
||
|
int strStr(string haystack, string needle);
|
||
|
};
|
||
|
|
||
|
#endif
|