This commit is contained in:
2022-11-15 15:58:41 +08:00
parent 381117a18a
commit f820cf2f8c
3 changed files with 50 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
#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