摘要: 找出字符串中第一个匹配项的下标 class Solution { public: int strStr(string haystack, string needle) { if (needle.size() == 0) return 0; vector<int> next(needle.size() 阅读全文
posted @ 2023-02-21 20:45 小超不挑食 阅读(10) 评论(0) 推荐(0) 编辑