leetcode/include/s0028_find_the_index_of_the_first_occurrence_in_a_string.hpp

14 lines
255 B
C++
Raw Normal View History

2022-11-15 07:58:41 +00:00
#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