摘要: 正常是应该手写KMP算法 哈哈哈哈 一道题算一天 ,最后先搁置吧,看完kmp再写 代码: class Solution { public: int strStr(string haystack, string needle) { return haystack.find(needle); } }; 阅读全文
posted @ 2024-01-03 16:29 joyfulest 阅读(1) 评论(0) 推荐(0) 编辑