leetcode/include/s0028_find_the_index_of_the_first_occurrence_in_a_string.hpp
2022-11-15 15:58:41 +08:00

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