首页 > 代码库 > leetcode28

leetcode28

public class Solution {
    public int StrStr(string haystack, string needle) {
        return haystack.IndexOf(needle);
    }
}

https://leetcode.com/problems/implement-strstr/#/description

leetcode28